MCPcopy Create free account
hub / github.com/bugy/script-server / flushPromises

Function flushPromises

web-src/tests/unit/admin/script-module_test.js:12–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10
11let axiosMock;
12const flushPromises = () => new Promise(resolve => setTimeout(resolve));
13
14
15function mockGetScripts(scripts) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected