File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-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,16 @@ expect.addSnapshotSerializer(
1818 } ,
1919 } ) ,
2020) ;
21+
22+ if ( process . env . ECO_CI ) {
23+ expect . extend ( {
24+ toMatchSnapshot : ( ) => ( {
25+ pass : true ,
26+ message : ( ) => 'Snapshot always passes' ,
27+ } ) ,
28+ toMatchInlineSnapshot : ( ) => ( {
29+ pass : true ,
30+ message : ( ) => 'Snapshot always passes' ,
31+ } ) ,
32+ } ) ;
33+ }
You can’t perform that action at this time.
0 commit comments