Skip to content

Commit fb6052c

Browse files
authored
docs: update README with JS intellisense instructions (#136)
1 parent a4a06e3 commit fb6052c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,16 @@ and should be added as follows in `tsconfig.json`:
9090
}
9191
```
9292

93+
### Intellisense for JavaScript with VS Code
94+
95+
If you're not using TypeScript, you use VS Code, and want to have code-completion with the methods from this library, simply add the following line to your project's root-level `jsconfig.json` file:
96+
97+
```json
98+
{
99+
"include": ["node_modules/cypress", "./cypress/**/*.js"]
100+
}
101+
```
102+
93103
## Usage
94104

95105
`Cypress Testing Library` extends Cypress' `cy` command.

0 commit comments

Comments
 (0)