Skip to content

Commit b8f1244

Browse files
committed
Improve jest config to fix wrong line numbers
1 parent 64e0480 commit b8f1244

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/middleware/tests/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
const config = {
33
testEnvironment: 'node',
44
transform: {
5-
'\\.[jt]sx?$': ['esbuild-jest', { rootMode: 'upward' }]
5+
'\\.[jt]sx?$': ['esbuild-jest', { sourcemap: true, rootMode: 'upward' }]
66
},
77
transformIgnorePatterns: [],
88
setupFilesAfterEnv: ['<rootDir>/jest.setup.js']

0 commit comments

Comments
 (0)