Skip to content

Commit

Permalink
build(devs-infra): upgrade deps (#1024)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnpnl authored Sep 21, 2021
1 parent 7fc0a5d commit ce41947
Show file tree
Hide file tree
Showing 19 changed files with 597 additions and 559 deletions.
3 changes: 1 addition & 2 deletions examples/example-app-v10/jest-esm.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
require('jest-preset-angular/ngcc-jest-processor');
const snapshotSerializers = require('jest-preset-angular/build/serializers/index');

/** @type {import('@jest/types').Config.InitialOptions} */
module.exports = {
preset: 'jest-preset-angular/presets/defaults-esm',
globals: {
'ts-jest': {
useESM: true,
tsconfig: '<rootDir>/tsconfig-esm.spec.json',
stringifyContentPathRegex: '\\.html$',
},
},
snapshotSerializers,
setupFilesAfterEnv: ['<rootDir>/setup-jest.ts'],
};
6 changes: 3 additions & 3 deletions examples/example-app-v10/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"@angular/cli": "~10.2.3",
"@angular/compiler-cli": "~10.2.5",
"@angular/language-service": "~10.2.5",
"@types/jest": "^27.0.1",
"jest": "^27.2.0",
"@types/jest": "^27.0.2",
"jest": "^27.2.1",
"jest-preset-angular": "^10.0.0",
"typescript": "~4.0.7"
}
}
}
Loading

0 comments on commit ce41947

Please sign in to comment.