File tree Expand file tree Collapse file tree
packages/jest-matchers/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 " transform-es2015-parameters" ,
77 " transform-async-to-generator" ,
88 " transform-strict-mode" ,
9- [" transform-inline-imports-commonjs" , {"allowTopLevelThis" : true }]
9+ [" transform-inline-imports-commonjs" , {"allowTopLevelThis" : true , "excludeModules" : [ " jest-matcher-utils " ] }]
1010 ],
1111 "retainLines" : true
1212}
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ import type {
1818 ThrowingMatcherFn ,
1919 PromiseMatcherFn ,
2020} from 'types/Matchers' ;
21- // jest-matcher-utils needs to be eagerly evaluated
22- const utils = require ( 'jest-matcher-utils' ) ;
21+
22+ import utils from 'jest-matcher-utils' ;
2323import matchers from './matchers' ;
2424import spyMatchers from './spyMatchers' ;
2525import toThrowMatchers from './toThrowMatchers' ;
You canāt perform that action at this time.
0 commit comments