Skip to content

Commit 7521e35

Browse files
committed
wip: fix jest config
1 parent 7308169 commit 7521e35

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

meteor/jest.config.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const commonConfig = {
55
moduleNameMapper: {},
66
unmockedModulePathPatterns: ['/^imports\\/.*\\.jsx?$/', '/^node_modules/'],
77
globals: {},
8-
moduleFileExtensions: ['ts', 'js'],
8+
moduleFileExtensions: ['ts', 'js', 'json'],
99
transform: {
1010
'^.+\\.(ts|tsx)$': [
1111
'ts-jest',
@@ -34,16 +34,6 @@ const commonConfig = {
3434
module.exports = {
3535
projects: [
3636
Object.assign({}, commonConfig, {
37-
displayName: 'lib',
38-
testMatch: [
39-
'<rootDir>/lib/__tests__/**/*.(spec|test).(ts|js)',
40-
'<rootDir>/lib/**/__tests__/**/*.(spec|test).(ts|js)',
41-
'!.meteor/*.*',
42-
],
43-
testEnvironment: 'node',
44-
}),
45-
Object.assign({}, commonConfig, {
46-
displayName: 'server',
4737
testMatch: [
4838
'<rootDir>/server/__tests__/**/*.(spec|test).(ts|js)',
4939
'<rootDir>/server/**/__tests__/**/*.(spec|test).(ts|js)',

0 commit comments

Comments
 (0)