mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 02:11:57 +00:00
Update config files to remove jest configs
This commit is contained in:
parent
cd6553a400
commit
fd91a16cdf
|
@ -33,9 +33,6 @@ module.exports = {
|
|||
overrides: [
|
||||
{
|
||||
files: ['**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)'],
|
||||
env: {
|
||||
jest: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
};
|
|
@ -1,10 +1,5 @@
|
|||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"types": [
|
||||
"jest",
|
||||
],
|
||||
},
|
||||
"include": [
|
||||
"unit/*.ts",
|
||||
"unit/*.tsx"
|
||||
|
|
Loading…
Reference in New Issue
Block a user