Skip to content

Commit

Permalink
chore: update local ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
nacho-vazquez committed Jul 13, 2024
1 parent 158ef5d commit 05b94b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
10 changes: 0 additions & 10 deletions jest.preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,4 @@ const nxPreset = require('@nx/jest/preset').default;
module.exports = {
...nxPreset,
resetMocks: true,
/* TODO: Update to latest Jest snapshotFormat
* By default Nx has kept the older style of Jest Snapshot formats
* to prevent breaking of any existing tests with snapshots.
* It's recommend you update to the latest format.
* You can do this by removing snapshotFormat property
* and running tests with --update-snapshot flag.
* Example: "nx affected --targets=test --update-snapshot"
* More info: https://jestjs.io/docs/upgrading-to-jest29#snapshot-format
*/
snapshotFormat: { escapeString: true, printBasicPrototype: true },
};
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"clean": "rimraf dist coverage reports",
"configure-sonar-report-paths": "node tools/scripts/configure-sonar-report-paths.mjs",
"delete-path-alias": "node tools/scripts/delete-path-alias.mjs",
"e2e": "nx run-many --target=e2e --all --parallel=1",
"e2e": "nx run-many --target=e2e-ci --parallel=1",
"format": "pnpm run nx format:write",
"lint": "nx run-many --target=lint --all --max-warnings=0",
"lint": "nx run-many --target=lint --max-warnings=0",
"nx": "nx",
"start": "nx serve",
"test": "nx run-many --target=test --all"
"test": "nx run-many --target=test"
},
"engines": {
"node": "20",
Expand Down

0 comments on commit 05b94b3

Please sign in to comment.