MCPcopy Create free account
hub / github.com/ceifa/wasmoon / setIntervalSafe

Function setIntervalSafe

test/engine.test.js:24–26  ·  view source on GitHub ↗
(callback, interval)

Source from the content-addressed store, hash-verified

22describe('Engine', () => {
23 let intervals = []
24 const setIntervalSafe = (callback, interval) => {
25 intervals.push(setInterval(() => callback(), interval))
26 }
27
28 afterEach(() => {
29 for (const interval of intervals) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected