Update config files to remove jest configs

This commit is contained in:
Matthias 2023-04-11 06:38:18 +02:00
parent cd6553a400
commit fd91a16cdf
3 changed files with 0 additions and 28 deletions

View File

@ -33,9 +33,6 @@ module.exports = {
overrides: [
{
files: ['**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)'],
env: {
jest: true,
},
},
],
};

View File

@ -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: {
'^@/(.*)$': '<rootDir>/src/$1',
},
};

View File

@ -1,10 +1,5 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"types": [
"jest",
],
},
"include": [
"unit/*.ts",
"unit/*.tsx"