diff --git a/docs/docs/end-to-end-testing.md b/docs/docs/end-to-end-testing.md index 3f70233763e47..2891afa7f0159 100644 --- a/docs/docs/end-to-end-testing.md +++ b/docs/docs/end-to-end-testing.md @@ -70,9 +70,9 @@ To use cypress-axe you have to install `cypress-axe` and [axe-core](https://gith npm install --save-dev cypress-axe axe-core @testing-library/cypress ``` -Then you add the `cypress-axe` and `@testing-library/cypress` commands in `cypress/support/commands.js`: +Then you add the `cypress-axe` and `@testing-library/cypress` commands in `cypress/support/index.js`: -```js:title=cypress/support/commands.js +```js:title=cypress/support/index.js import "./commands" //highlight-start import "cypress-axe"