diff --git a/jest.ci.config.js b/jest.ci.config.js deleted file mode 100644 index edbd57e4..00000000 --- a/jest.ci.config.js +++ /dev/null @@ -1,23 +0,0 @@ -module.exports = { - roots: ['/src/'], - preset: 'ts-jest', - testEnvironment: 'jsdom', - transform: { - '^.+\\.(t)s$': 'ts-jest', - }, - setupFiles: [], - setupFilesAfterEnv: ['/config/setupAfterEnv.ts'], - moduleDirectories: ['/node_modules', '/src'], - - moduleNameMapper: { - // Below replaces imports for speed - '\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': - '/config/empty.js', - '\\.(css|scss|svg)$': 'identity-obj-proxy', - '^uuid$': require.resolve('uuid'), - }, - transformIgnorePatterns: [ - // Ignores imports of icons and other unneeded modules - '/node_modules/(?!@redhat-cloud-services|@openshift|lodash-es|uuid|@patternfly/react-icons)', - ], -}; diff --git a/package.json b/package.json index 4dbfc6a1..51598e1f 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,8 @@ "local": "BACKEND_PORT=8000 npm start", "verify": "npm-run-all build lint test-ci", "postinstall": "ts-patch install", - "test": "TZ=UTC jest --config jest.config.js --verbose", - "test-ci": "TZ=UTC jest --config jest.ci.config.js --verbose --no-cache", + "test": "TZ=UTC jest --verbose", + "test-ci": "TZ=UTC jest --verbose --no-cache", "testAllPreviewFailures": "npm-run-all -p test jestPreview", "jestPreview": "jest-preview", "jestClear": "jest --clearCache"