MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / sleep

Function sleep

apps/desktop/src/main/vault.perf.test.ts:76–78  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

74}
75
76function sleep(ms: number): Promise<void> {
77 return new Promise((resolve) => setTimeout(resolve, ms))
78}
79
80describe.skipIf(process.env['ZEN_PERF_BENCH'] !== '1')('large vault performance', () => {
81 it('measures note listing, note read, note write, and built-in text search', async () => {

Callers 1

vault.perf.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected