1- import { json as runWithJson } from '../run-jest' ;
1+ import { jsonNoCache as runWithJsonNoCache } from '../run-jest' ;
22
33describe ( 'hoisting' , ( ) => {
44 const DIR = 'ast-transformers/hoisting' ;
55
66 test ( `successfully runs the tests inside ${ DIR } with isolatedModules: false` , ( ) => {
7- const { json } = runWithJson ( DIR ) ;
7+ const { json } = runWithJsonNoCache ( DIR ) ;
88
99 expect ( json . success ) . toBe ( true ) ;
1010 } ) ;
1111
1212 test ( `successfully runs the tests inside ${ DIR } with isolatedModules: true` , ( ) => {
13- const { json } = runWithJson ( DIR , [ '-c=jest-isolated.config.js' ] ) ;
13+ const { json } = runWithJsonNoCache ( DIR , [ '-c=jest-isolated.config.js' ] ) ;
1414
1515 expect ( json . success ) . toBe ( true ) ;
1616 } ) ;
@@ -20,13 +20,13 @@ describe('ng-jit-transformers', () => {
2020 const DIR = 'ast-transformers/ng-jit-transformers' ;
2121
2222 test ( `successfully runs the tests inside ${ DIR } with isolatedModules: false` , ( ) => {
23- const { json } = runWithJson ( DIR ) ;
23+ const { json } = runWithJsonNoCache ( DIR ) ;
2424
2525 expect ( json . success ) . toBe ( true ) ;
2626 } ) ;
2727
2828 test ( `successfully runs the tests inside ${ DIR } with isolatedModules: true` , ( ) => {
29- const { json } = runWithJson ( DIR , [ '-c=jest-isolated.config.js' ] ) ;
29+ const { json } = runWithJsonNoCache ( DIR , [ '-c=jest-isolated.config.js' ] ) ;
3030
3131 expect ( json . success ) . toBe ( true ) ;
3232 } ) ;
0 commit comments