Skip to content

Commit 3e3a403

Browse files
committed
tests(config): improve test config
1 parent f0dfbba commit 3e3a403

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

jest.config.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
module.exports = {
22
roots: ['<rootDir>/src'],
3-
transform: {
4-
'^.+\\.tsx?$': 'ts-jest',
5-
},
6-
globals: {
7-
'ts-jest': {
8-
tsConfig: 'tsconfig.jest.json',
9-
},
10-
},
3+
preset: 'ts-jest',
114
testMatch: ['**/?(*.)+(spec|test).ts?(x)'],
125
transformIgnorePatterns: ['[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$'],
136
moduleFileExtensions: ['ts', 'tsx', 'js'],

tsconfig.jest.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)