Skip to content

Commit bb18624

Browse files
committed
fixup! test: use isolatedModules for all ts-jest configs to lower memory footprint on CI
1 parent a307bb5 commit bb18624

68 files changed

Lines changed: 69 additions & 69 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/react-components/babel-preset-global-context/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
globals: {
1010
'ts-jest': {
1111
tsconfig: '<rootDir>/tsconfig.spec.json',
12-
diagnostics: false,
12+
isolatedModules: true,
1313
},
1414
},
1515
transform: {

packages/react-components/babel-preset-storybook-full-source/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
globals: {
1010
'ts-jest': {
1111
tsconfig: '<rootDir>/tsconfig.spec.json',
12-
diagnostics: false,
12+
isolatedModules: true,
1313
},
1414
},
1515
transform: {

packages/react-components/global-context/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
globals: {
1010
'ts-jest': {
1111
tsconfig: '<rootDir>/tsconfig.spec.json',
12-
diagnostics: false,
12+
isolatedModules: true,
1313
},
1414
},
1515
transform: {

packages/react-components/keyboard-keys/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
globals: {
1010
'ts-jest': {
1111
tsconfig: '<rootDir>/tsconfig.spec.json',
12-
diagnostics: false,
12+
isolatedModules: true,
1313
},
1414
},
1515
transform: {

packages/react-components/priority-overflow/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
globals: {
1010
'ts-jest': {
1111
tsconfig: '<rootDir>/tsconfig.spec.json',
12-
diagnostics: false,
12+
isolatedModules: true,
1313
},
1414
},
1515
transform: {

packages/react-components/react-accordion/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
globals: {
1010
'ts-jest': {
1111
tsconfig: '<rootDir>/tsconfig.spec.json',
12-
diagnostics: false,
12+
isolatedModules: true,
1313
},
1414
},
1515
transform: {

packages/react-components/react-alert/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
globals: {
1010
'ts-jest': {
1111
tsconfig: '<rootDir>/tsconfig.spec.json',
12-
diagnostics: false,
12+
isolatedModules: true,
1313
},
1414
},
1515
transform: {

packages/react-components/react-aria/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
globals: {
1010
'ts-jest': {
1111
tsconfig: '<rootDir>/tsconfig.spec.json',
12-
diagnostics: false,
12+
isolatedModules: true,
1313
},
1414
},
1515
transform: {

packages/react-components/react-avatar-context/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
globals: {
1010
'ts-jest': {
1111
tsconfig: '<rootDir>/tsconfig.spec.json',
12-
diagnostics: false,
12+
isolatedModules: true,
1313
},
1414
},
1515
transform: {

packages/react-components/react-avatar/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
globals: {
1010
'ts-jest': {
1111
tsconfig: '<rootDir>/tsconfig.spec.json',
12-
diagnostics: false,
12+
isolatedModules: true,
1313
},
1414
},
1515
transform: {

0 commit comments

Comments
 (0)