Skip to content

Commit

Permalink
fix: tests fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonli-Lokli committed Sep 2, 2024
1 parent 1ddb725 commit 78db60d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions jest.preset.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const nxPreset = require('@nx/jest/preset').default;
import nxPreset from '@nx/jest/preset.js';

module.exports = {
export default {
...nxPreset,
/* TODO: Update to latest Jest snapshotFormat
* By default Nx has kept the older style of Jest Snapshot formats
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build:js": "tsup",
"build:check": "attw --pack build",
"lint-staged": "lint-staged",
"test": "nx run-many --all --target=test",
"test": "nx run ts-result:test",
"format": "nx format:write",
"deploy": "cd build && npm publish --access public",
"lint": "run-s tsc nx run-many --all --target=lint",
Expand Down
1 change: 1 addition & 0 deletions packages/ts-result/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"module": "commonjs",
"verbatimModuleSyntax": false,
"types": ["jest", "node"]
},
"include": [
Expand Down

0 comments on commit 78db60d

Please sign in to comment.