diff --git a/packages/react-form-with-constraints-bootstrap4/jest.config.js b/packages/react-form-with-constraints-bootstrap4/jest.config.js index 66ae3507..0f8a1d20 100644 --- a/packages/react-form-with-constraints-bootstrap4/jest.config.js +++ b/packages/react-form-with-constraints-bootstrap4/jest.config.js @@ -1,5 +1,5 @@ module.exports = { - setupFiles: ['../react-form-with-constraints/src/SetupEnzyme.ts'], + setupFiles: ['../react-form-with-constraints/src/JestSetup.ts'], transform: { '^.+\\.tsx?$': 'ts-jest' @@ -9,6 +9,5 @@ module.exports = { collectCoverageFrom: [ 'src/**/*.{ts,tsx}' - ], - mapCoverage: true + ] }; diff --git a/packages/react-form-with-constraints-native/jest.config.js b/packages/react-form-with-constraints-native/jest.config.js index a42a1060..301a6e20 100644 --- a/packages/react-form-with-constraints-native/jest.config.js +++ b/packages/react-form-with-constraints-native/jest.config.js @@ -1,7 +1,7 @@ module.exports = { preset: 'react-native', - setupFiles: ['../react-form-with-constraints/src/SetupEnzyme.ts'], + setupFiles: ['../react-form-with-constraints/src/JestSetup.ts'], transform: { '^.+\\.tsx?$': 'ts-jest', @@ -12,6 +12,5 @@ module.exports = { collectCoverageFrom: [ 'src/**/*.{ts,tsx}' - ], - mapCoverage: true + ] }; diff --git a/packages/react-form-with-constraints-tools/jest.config.js b/packages/react-form-with-constraints-tools/jest.config.js index 66ae3507..0f8a1d20 100644 --- a/packages/react-form-with-constraints-tools/jest.config.js +++ b/packages/react-form-with-constraints-tools/jest.config.js @@ -1,5 +1,5 @@ module.exports = { - setupFiles: ['../react-form-with-constraints/src/SetupEnzyme.ts'], + setupFiles: ['../react-form-with-constraints/src/JestSetup.ts'], transform: { '^.+\\.tsx?$': 'ts-jest' @@ -9,6 +9,5 @@ module.exports = { collectCoverageFrom: [ 'src/**/*.{ts,tsx}' - ], - mapCoverage: true + ] }; diff --git a/packages/react-form-with-constraints/jest.config.js b/packages/react-form-with-constraints/jest.config.js index 22b4b1bf..cffcd8be 100644 --- a/packages/react-form-with-constraints/jest.config.js +++ b/packages/react-form-with-constraints/jest.config.js @@ -1,11 +1,9 @@ module.exports = { - setupFiles: ['./src/SetupEnzyme.ts'], + setupFiles: ['./src/JestSetup.ts'], transform: { '^.+\\.tsx?$': 'ts-jest' }, testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$', - moduleFileExtensions: ['ts', 'tsx', 'js'], - - mapCoverage: true + moduleFileExtensions: ['ts', 'tsx', 'js'] }; diff --git a/packages/react-form-with-constraints/src/SetupEnzyme.ts b/packages/react-form-with-constraints/src/JestSetup.ts similarity index 100% rename from packages/react-form-with-constraints/src/SetupEnzyme.ts rename to packages/react-form-with-constraints/src/JestSetup.ts