Skip to content

Commit 78db60d

Browse files
committed
fix: tests fixed
1 parent 1ddb725 commit 78db60d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

jest.preset.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
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",

packages/ts-result/tsconfig.spec.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"compilerOptions": {
44
"outDir": "../../dist/out-tsc",
55
"module": "commonjs",
6+
"verbatimModuleSyntax": false,
67
"types": ["jest", "node"]
78
},
89
"include": [

0 commit comments

Comments
 (0)