fix type checking for cypress

This commit is contained in:
MapleLeaf
2022-01-10 16:03:54 -06:00
parent 4f8308dc73
commit adeb0fb0d9
3 changed files with 6 additions and 3 deletions

View File

@@ -2,5 +2,7 @@
"extends": "../tsconfig.json", "extends": "../tsconfig.json",
"compilerOptions": { "compilerOptions": {
"types": ["cypress", "@testing-library/cypress"] "types": ["cypress", "@testing-library/cypress"]
} },
"include": ["."],
"exclude": []
} }

View File

@@ -8,7 +8,7 @@
"test-dev": "pnpm dev & wait-on http-get://localhost:3000 && cypress open", "test-dev": "pnpm dev & wait-on http-get://localhost:3000 && cypress open",
"build": "typedoc && remix build", "build": "typedoc && remix build",
"start": "remix-serve build", "start": "remix-serve build",
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit && tsc --project cypress/tsconfig.json --noEmit"
}, },
"dependencies": { "dependencies": {
"@heroicons/react": "^1.0.5", "@heroicons/react": "^1.0.5",

View File

@@ -10,6 +10,7 @@
"**/dist/**", "**/dist/**",
"**/.cache/**", "**/.cache/**",
"**/api/_build/**", "**/api/_build/**",
"**/public/**" "**/public/**",
"**/cypress/**"
] ]
} }