nx/packages/nx/jest.config.js
Craigory Coppola ccfc527b20
fix(core): projects inferrred in apps directory should be inferred as an application (#9379)
* fix(core): projects inferrred in apps directory should be inferred as an application

* chore(repo): add jest setup back for `nx`
2022-03-18 19:14:04 -04:00

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',
};