* fix(core): projects inferrred in apps directory should be inferred as an application * chore(repo): add jest setup back for `nx`
11 lines
289 B
JavaScript
11 lines
289 B
JavaScript
module.exports = {
|
|
preset: '../../jest.preset.js',
|
|
transform: {
|
|
'^.+\\.[tj]sx?$': 'ts-jest',
|
|
},
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html'],
|
|
globals: { 'ts-jest': { tsconfig: '<rootDir>/tsconfig.spec.json' } },
|
|
displayName: 'nx',
|
|
testEnvironment: 'node',
|
|
};
|