File tree 3 files changed +97
-67
lines changed
3 files changed +97
-67
lines changed Original file line number Diff line number Diff line change 76
76
"typescript" : " ~5.7.2" ,
77
77
"typescript-eslint" : " ^8.19.1" ,
78
78
"vite" : " workspace:*" ,
79
- "vitest" : " ^2.1.8 "
79
+ "vitest" : " ^3.0.2 "
80
80
},
81
81
"simple-git-hooks" : {
82
82
"pre-commit" : " pnpm exec lint-staged --concurrent false"
Original file line number Diff line number Diff line change 1
1
import fs from 'node:fs/promises'
2
2
import path from 'node:path'
3
- import type { GlobalSetupContext } from 'vitest/node'
3
+ import type { TestProject } from 'vitest/node'
4
4
import type { BrowserServer } from 'playwright-chromium'
5
5
import { chromium } from 'playwright-chromium'
6
6
7
7
let browserServer : BrowserServer | undefined
8
8
9
- export async function setup ( { provide } : GlobalSetupContext ) : Promise < void > {
9
+ export async function setup ( { provide } : TestProject ) : Promise < void > {
10
10
process . env . NODE_ENV = process . env . VITE_TEST_BUILD
11
11
? 'production'
12
12
: 'development'
You can’t perform that action at this time.
0 commit comments