MCPcopy Index your code
hub / github.com/buildbot/buildbot / flushPromisesAndTimers

Function flushPromisesAndTimers

www/data-module/src/data/DataClient.test.ts:75–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 });
74
75 const flushPromisesAndTimers = async () => {
76 await new Promise((resolve) => setTimeout(resolve, 0));
77 await vi.runAllTimersAsync();
78 }
79
80 describe('get()', () => {
81 it('should call get for the rest api endpoint', async () => {

Callers 1

DataClient.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected