Skip to content

Commit

Permalink
refactor(jest): s/tsConfig/tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeMorier committed Nov 7, 2020
1 parent 010fc90 commit 398041c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/frontend/jest.config.js
Expand Up @@ -35,7 +35,7 @@ module.exports = {
globals: {
'ts-jest': {
diagnostics: false, // https://github.com/nrwl/nx/issues/1439#issuecomment-593684534
tsConfig: '<rootDir>/tsconfig.spec.json',
tsconfig: '<rootDir>/tsconfig.spec.json',
stringifyContentPathRegex: '\\.(html|svg)$',
astTransformers: {
before: [
Expand Down
2 changes: 1 addition & 1 deletion apps/kafka-proxy/jest.config.js
Expand Up @@ -2,5 +2,5 @@ module.exports = {
displayName: 'kafka-proxy',
preset: '../../jest.preset.js',
coverageDirectory: '../../coverage/apps/kafka-proxy',
globals: { 'ts-jest': { tsConfig: '<rootDir>/tsconfig.spec.json' } },
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
};
2 changes: 1 addition & 1 deletion libs/model/jest.config.js
Expand Up @@ -19,5 +19,5 @@ module.exports = {
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html'],
coverageDirectory: '../../coverage/libs/model',
globals: { 'ts-jest': { tsConfig: '<rootDir>/tsconfig.spec.json' } },
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
};
2 changes: 1 addition & 1 deletion libs/shared/jest.config.js
Expand Up @@ -19,5 +19,5 @@ module.exports = {
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html'],
coverageDirectory: '../../coverage/libs/shared',
globals: { 'ts-jest': { tsConfig: '<rootDir>/tsconfig.spec.json' } },
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
};
2 changes: 1 addition & 1 deletion libs/ui/jest.config.js
Expand Up @@ -35,7 +35,7 @@ module.exports = {
globals: {
'ts-jest': {
diagnostics: false, // https://github.com/nrwl/nx/issues/1439#issuecomment-593684534
tsConfig: '<rootDir>/tsconfig.spec.json',
tsconfig: '<rootDir>/tsconfig.spec.json',
stringifyContentPathRegex: '\\.(html|svg)$',
astTransformers: {
before: [
Expand Down
2 changes: 1 addition & 1 deletion libs/vdb/jest.config.js
Expand Up @@ -19,5 +19,5 @@ module.exports = {
'^.+\\.[tj]sx?$': 'ts-jest',
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html'],
globals: { 'ts-jest': { tsConfig: '<rootDir>/tsconfig.spec.json' } },
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
};

0 comments on commit 398041c

Please sign in to comment.