Skip to content

Commit

Permalink
test: enable isolatedModules for tests (#1546)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jan 30, 2020
1 parent b24fbe8 commit 569259e
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/eslint-plugin-internal/jest.config.js
@@ -1,6 +1,11 @@
'use strict';

module.exports = {
globals: {
'ts-jest': {
isolatedModules: true,
},
},
testEnvironment: 'node',
transform: {
'^.+\\.tsx?$': 'ts-jest',
Expand Down
5 changes: 5 additions & 0 deletions packages/eslint-plugin-tslint/jest.config.js
@@ -1,6 +1,11 @@
'use strict';

module.exports = {
globals: {
'ts-jest': {
isolatedModules: true,
},
},
testEnvironment: 'node',
transform: {
'^.+\\.tsx?$': 'ts-jest',
Expand Down
5 changes: 5 additions & 0 deletions packages/eslint-plugin/jest.config.js
@@ -1,6 +1,11 @@
'use strict';

module.exports = {
globals: {
'ts-jest': {
isolatedModules: true,
},
},
testEnvironment: 'node',
transform: {
'^.+\\.tsx?$': 'ts-jest',
Expand Down
5 changes: 5 additions & 0 deletions packages/experimental-utils/jest.config.js
@@ -1,6 +1,11 @@
'use strict';

module.exports = {
globals: {
'ts-jest': {
isolatedModules: true,
},
},
testEnvironment: 'node',
transform: {
'^.+\\.tsx?$': 'ts-jest',
Expand Down
5 changes: 5 additions & 0 deletions packages/parser/jest.config.js
@@ -1,6 +1,11 @@
'use strict';

module.exports = {
globals: {
'ts-jest': {
isolatedModules: true,
},
},
testEnvironment: 'node',
transform: {
'^.+\\.tsx?$': 'ts-jest',
Expand Down
5 changes: 5 additions & 0 deletions packages/typescript-estree/jest.config.js
@@ -1,6 +1,11 @@
'use strict';

module.exports = {
globals: {
'ts-jest': {
isolatedModules: true,
},
},
testEnvironment: 'node',
transform: {
'^.+\\.tsx?$': 'ts-jest',
Expand Down

0 comments on commit 569259e

Please sign in to comment.