swellstores / swell-js

JS library for building storefronts and checkouts with Swell ecommerce.
https://swell.is
MIT License
138 stars 29 forks source link

Fix cache test - open handle w/ record timer #152

Closed swellmike closed 8 months ago

swellmike commented 8 months ago

Problem: The timer in cache test was causing an open handle warning in the #setRecord cache test.

Solution: Adds proper test teardown to unref the timer.