We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
File
RunnerTestFile
1 parent f1d3bf7 commit 8cc8e51Copy full SHA for 8cc8e51
playground/vitestSetup.ts
@@ -21,7 +21,7 @@ import {
21
} from 'vite'
22
import type { Browser, Page } from 'playwright-chromium'
23
import type { RollupError, RollupWatcher, RollupWatcherEvent } from 'rollup'
24
-import type { File } from 'vitest'
+import type { RunnerTestFile } from 'vitest'
25
import { beforeAll, inject } from 'vitest'
26
27
// #region env
@@ -81,7 +81,7 @@ export function setViteUrl(url: string): void {
81
// #endregion
82
83
beforeAll(async (s) => {
84
- const suite = s as File
+ const suite = s as RunnerTestFile
85
86
testPath = suite.filepath!
87
testName = slash(testPath).match(/playground\/([\w-]+)\//)?.[1]
0 commit comments