Skip to content

Commit 24f5f9f

Browse files
committed
chore: update
1 parent 4815e02 commit 24f5f9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/scripts/helper.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import fs from 'node:fs';
22
import { platform } from 'node:os';
33
import { join } from 'node:path';
4-
import { expect } from '@playwright/test';
54
import fse from 'fs-extra';
65
import { type GlobOptions, convertPathToPattern, glob } from 'tinyglobby';
6+
import { expect } from 'vitest';
77

88
// tinyglobby only accepts posix path
99
// https://github.com/SuperchupuDev/tinyglobby?tab=readme-ov-file#api
@@ -69,7 +69,7 @@ export const proxyConsole = (
6969
*/
7070
export const expectPoll = (fn: () => boolean): any => {
7171
return expect.poll(fn, {
72-
intervals: [20, 30, 40, 50, 60, 70, 80, 90, 100],
72+
interval: 100,
7373
});
7474
};
7575

0 commit comments

Comments
 (0)