MCPcopy Create free account
hub / github.com/chhoumann/quickadd / flushPromises

Function flushPromises

src/gui/MacroGUIs/UserScriptSettingsModal.test.ts:49–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49function flushPromises(): Promise<void> {
50 return new Promise((resolve) => setTimeout(resolve, 0));
51}
52
53function inputValue(input: HTMLInputElement, value: string) {
54 input.value = value;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected