From fd91a16cdfbb2f253330dd9dc35d1be465ea1665 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 11 Apr 2023 06:38:18 +0200 Subject: [PATCH] Update config files to remove jest configs --- .eslintrc.js | 3 --- jest.config.js | 20 -------------------- tests/tsconfig.json | 5 ----- 3 files changed, 28 deletions(-) delete mode 100644 jest.config.js diff --git a/.eslintrc.js b/.eslintrc.js index 623961ac..ba8d000d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -33,9 +33,6 @@ module.exports = { overrides: [ { files: ['**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)'], - env: { - jest: true, - }, }, ], }; diff --git a/jest.config.js b/jest.config.js deleted file mode 100644 index b88ceb62..00000000 --- a/jest.config.js +++ /dev/null @@ -1,20 +0,0 @@ -module.exports = { - // preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel', - // testMatch: ['**/tests/unit/**/*.test.[jt]s?(x)'], - globals: { - 'ts-jest': { - tsconfig: 'tests/tsconfig.json', - }, - }, - testPathIgnorePatterns: ['/node_modules/', '/src/', '/cypress/'], - // preset: 'vite-jest', - // preset: 'ts-jest', - moduleFileExtensions: ['js', 'ts', 'json'], - transform: { - '^.+\\.ts$': 'ts-jest', - // '^.+\\.vue$': '@vue/vue2-jest', - }, - moduleNameMapper: { - '^@/(.*)$': '/src/$1', - }, -}; diff --git a/tests/tsconfig.json b/tests/tsconfig.json index 47f58e5b..467156aa 100644 --- a/tests/tsconfig.json +++ b/tests/tsconfig.json @@ -1,10 +1,5 @@ { "extends": "../tsconfig.json", - "compilerOptions": { - "types": [ - "jest", - ], - }, "include": [ "unit/*.ts", "unit/*.tsx"