Skip to content

Commit

Permalink
[docs] Update Cypress config file name (#40849)
Browse files Browse the repository at this point in the history
The latest version of Cypress no longer supports `cypress.json`, use `cypress.config.js` instead. See details in the Cypress [docs](https://docs.cypress.io/guides/references/configuration).
  • Loading branch information
cjdunteman committed Sep 23, 2022
1 parent 719116a commit b3b8836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/testing.md
Expand Up @@ -107,7 +107,7 @@ describe('Navigation', () => {
})
```

You can use `cy.visit("/")` instead of `cy.visit("http://localhost:3000/")` if you add `"baseUrl": "http://localhost:3000"` to the `cypress.json` configuration file.
You can use `cy.visit("/")` instead of `cy.visit("http://localhost:3000/")` if you add `baseUrl: 'http://localhost:3000'` to the `cypress.config.js` configuration file.

### Running your Cypress tests

Expand Down

0 comments on commit b3b8836

Please sign in to comment.