Skip to content

Commit

Permalink
fix(jest.config.ts): update setupFilesAfterEnv path to use a relative…
Browse files Browse the repository at this point in the history
… path for consistency across configurations
  • Loading branch information
codemile committed Aug 23, 2024
1 parent dccbf9e commit 6d70491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/client/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ export default {
preset: '../../jest.preset.js',
transform: {
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nx/react/plugins/jest',
'^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nx/next/babel'] }]
'^.+\\.[tj]sx?$': ['babel-jest', {presets: ['@nx/next/babel']}]
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../coverage/apps/client',
setupFilesAfterEnv: ['./apps/client/jest.setup.ts']
setupFilesAfterEnv: ['./jest.setup.ts']
};

0 comments on commit 6d70491

Please sign in to comment.