File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1717 "test" : " pnpm run test:unit && pnpm run test:integration && pnpm run test:e2e" ,
1818 "test:benchmark" : " cd ./tests && pnpm run test:benchmark" ,
1919 "test:e2e" : " pnpm run build:examples && cd tests && pnpm run test:e2e" ,
20+ "test:ecosystem-ci" : " pnpm run test:unit && cross-env ECO_CI=1 pnpm run test:integration && pnpm run test:e2e" ,
2021 "test:integration" : " cross-env NODE_OPTIONS='--experimental-vm-modules' vitest run --project integration" ,
2122 "test:integration:watch" : " cross-env NODE_OPTIONS='--experimental-vm-modules' vitest --project integration" ,
2223 "test:unit" : " vitest run --project unit*" ,
Original file line number Diff line number Diff line change @@ -18,3 +18,15 @@ expect.addSnapshotSerializer(
1818 } ,
1919 } ) ,
2020) ;
21+ if ( process . env . ECO_CI ) {
22+ expect . extend ( {
23+ toMatchSnapshot : ( ) => ( {
24+ pass : true ,
25+ message : ( ) => 'Snapshot always passes' ,
26+ } ) ,
27+ toMatchInlineSnapshot : ( ) => ( {
28+ pass : true ,
29+ message : ( ) => 'Snapshot always passes' ,
30+ } ) ,
31+ } ) ;
32+ }
You can’t perform that action at this time.
0 commit comments