Skip to content

Commit 0d3bfb3

Browse files
committed
chore: Upgrade connection instruction for modern cypress
1 parent 138c5e6 commit 0d3bfb3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,14 @@ npm install cypress-real-events
6161
yarn add cypress-real-events
6262
```
6363

64-
Register new commands by adding this to your `cypress/support/index.{js,ts}` file.
64+
Register new commands by adding this to your `cypress/support/e2e.{js,ts}` (or `components.{js|ts}`) file:
6565

6666
```js
6767
import "cypress-real-events";
6868
```
69+
6970
To include TypeScript declarations, add `"cypress-real-events"` to the `types` section of your [tsconfig.json](https://docs.cypress.io/guides/tooling/typescript-support) file:
71+
7072
```json
7173
{
7274
"compilerOptions": {

0 commit comments

Comments
 (0)