MCPcopy Index your code
hub / github.com/bugy/script-server / flushPromises

Function flushPromises

web-src/tests/unit/test_utils.js:124–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122}
123
124export const flushPromises = () => new Promise(resolve => setTimeout(resolve));
125
126export const createScriptServerTestVue = () => {
127 const vue = createLocalVue()

Calls

no outgoing calls

Tested by

no test coverage detected