File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1- const nxPreset = require ( '@nx/jest/preset' ) . default ;
1+ import nxPreset from '@nx/jest/preset.js' ;
22
3- module . exports = {
3+ export default {
44 ...nxPreset ,
55 /* TODO: Update to latest Jest snapshotFormat
66 * By default Nx has kept the older style of Jest Snapshot formats
Original file line number Diff line number Diff line change 1111 "build:js" : " tsup" ,
1212 "build:check" : " attw --pack build" ,
1313 "lint-staged" : " lint-staged" ,
14- "test" : " nx run-many --all --target= test" ,
14+ "test" : " nx run ts-result: test" ,
1515 "format" : " nx format:write" ,
1616 "deploy" : " cd build && npm publish --access public" ,
1717 "lint" : " run-s tsc nx run-many --all --target=lint" ,
Original file line number Diff line number Diff line change 33 "compilerOptions" : {
44 "outDir" : " ../../dist/out-tsc" ,
55 "module" : " commonjs" ,
6+ "verbatimModuleSyntax" : false ,
67 "types" : [" jest" , " node" ]
78 },
89 "include" : [
You can’t perform that action at this time.
0 commit comments