Skip to content
This repository was archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
Fix cypress and jest autocomplete conflicts in vscode (kentcdodds#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
p10ns11y authored May 17, 2021
1 parent a2cfc3a commit f23d89c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions cypress/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "../jsconfig.json",
"compilerOptions": {
// be explicit about types included
// to avoid clashing with Jest types
"types": ["cypress"]
},
"include": ["../node_modules/cypress", "./**/*.js"]
}
2 changes: 1 addition & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"compilerOptions": {
"baseUrl": "./src"
},
"include": ["src", "node_modules/cypress", "./cypress/**/*.js"]
"include": ["src"]
}

0 comments on commit f23d89c

Please sign in to comment.