File tree Expand file tree Collapse file tree 3 files changed +227
-201
lines changed
Expand file tree Collapse file tree 3 files changed +227
-201
lines changed Original file line number Diff line number Diff line change 2020 "format" : " prettier --write ." ,
2121 "lint" : " eslint ." ,
2222 "release" : " pnpm build:packages:prod && pnpm changeset publish" ,
23- "test" : " pnpm run -r test"
23+ "test" : " pnpm run -r test" ,
24+ "test:web" : " pnpm run --filter './packages/web' test stream.test.ts"
2425 },
2526 "keywords" : [],
2627 "type" : " module" ,
3334 "@actions/core" : " ^1.10.1" ,
3435 "@changesets/cli" : " 2.27.2" ,
3536 "@pnpm/workspace.find-packages" : " ^4.0.2" ,
36- "@vitest/browser" : " ^3.0.5 " ,
37+ "@vitest/browser" : " ^3.0.8 " ,
3738 "husky" : " ^9.0.11" ,
3839 "lint-staged" : " ^15.2.2" ,
3940 "playwright" : " ^1.50.1" ,
4041 "prettier" : " ^3.2.5" ,
4142 "typescript" : " ^5.7.2" ,
42- "vitest" : " ^3.0.5 "
43+ "vitest" : " ^3.0.8 "
4344 }
4445}
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ const config: UserConfigExport = {
3535 } ,
3636 plugins : [ wasm ( ) , topLevelAwait ( ) ] ,
3737 test : {
38- isolate : false ,
3938 globals : true ,
4039 include : [ 'tests/**/*.test.ts' ] ,
4140 maxConcurrency : 1 ,
@@ -45,6 +44,10 @@ const config: UserConfigExport = {
4544 } ,
4645 browser : {
4746 enabled : true ,
47+ /**
48+ * Starts each test in a new iFrame
49+ */
50+ isolate : true ,
4851 provider : 'playwright' ,
4952 headless : true ,
5053 instances : [
You can’t perform that action at this time.
0 commit comments