Open History to see the last commit
1import { window } from '../jsdom.ts'
2import { setup } from './setup.ts'
3β
4const DURATION_MS = 10_000
5β
6const test = setup()
7β
8try {
9 await test.before()
10β
11 const startedAt = performance.now()
12 while (performance.now() - startedAt < DURATION_MS) {
13 await test.tick()
14 }
15} finally {
16 test.after()
17 window.close()
18}