1
0
mirror of https://github.com/TheDavidDelta/lingva-translate.git synced 2025-10-06 00:02:52 +02:00

Fix tests typings (#140)

This commit is contained in:
David
2022-10-21 15:57:53 +02:00
committed by GitHub
parent 6e254e66a0
commit 81fd11ee62
3 changed files with 17 additions and 23 deletions

View File

@@ -1,30 +1,13 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"isolatedModules": false,
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"jsx": "preserve",
"types": [
"cypress",
"@testing-library/cypress"
]
},
"include": [
"../node_modules/cypress",
"../node_modules/@testing-library/cypress",
"./*/*.ts"
"."
]
}

14
tests/tsconfig.json Normal file
View File

@@ -0,0 +1,14 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"types": [
"jest",
"@testing-library/jest-dom",
"@testing-library/react",
"@testing-library/user-event"
]
},
"include": [
"."
]
}

View File

@@ -29,9 +29,6 @@
"**/*.tsx"
],
"exclude": [
"node_modules",
"**/*.test.ts",
"**/*.test.tsx",
"cypress"
"node_modules"
]
}