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:
@@ -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
14
tests/tsconfig.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"types": [
|
||||
"jest",
|
||||
"@testing-library/jest-dom",
|
||||
"@testing-library/react",
|
||||
"@testing-library/user-event"
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"."
|
||||
]
|
||||
}
|
@@ -29,9 +29,6 @@
|
||||
"**/*.tsx"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"**/*.test.ts",
|
||||
"**/*.test.tsx",
|
||||
"cypress"
|
||||
"node_modules"
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user