Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit 19e9d6f

Browse files
committed
add migration section
1 parent b1cca0f commit 19e9d6f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,15 @@ You can use any [Visual Testing plugin](https://on.cypress.io/plugins#visual-tes
204204

205205
See [docs/development.md](./docs/development.md)
206206

207+
## Migration guide
208+
209+
### From v3 to v4
210+
211+
The old v3 `master` branch is available as branch [v3](https://github.com/bahmutov/cypress-react-unit-test/tree/v3)
212+
213+
- the `cy.mount` is now simply `import { mount } from 'cypress-react-unit-test'`
214+
- the support file is simply `require('cypress-react-unit-test/support')`
215+
207216
## Related tools
208217

209218
Same feature for unit testing components from other frameworks using Cypress

0 commit comments

Comments
 (0)