Skip to content

Commit d7dd930

Browse files
committed
chore: readme
1 parent 1fc04b8 commit d7dd930

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

packages/cypress-plugin-visual-regression-diff/MIGRATION.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Migration Guide
22

3-
## Migrating to Cypress 16 (`Cypress.expose` API)
3+
## 4.0.x -> 4.1.x
4+
5+
### Migrating to Cypress 16 (`Cypress.expose` API)
46

57
Cypress 16 removes `Cypress.env()` in favor of the new `Cypress.expose()` API (introduced in Cypress 15.10.0).
68
This plugin supports both APIs automatically based on the detected Cypress version:

packages/cypress-plugin-visual-regression-diff/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export default defineConfig({
241241
```
242242

243243
```ts
244-
// cypress.config.ts (Cypress <15.10, deprecated)
244+
// cypress.config.ts (Cypress <15.10, deprecated in newer versions)
245245
import { defineConfig } from 'cypress';
246246

247247
export default defineConfig({

0 commit comments

Comments
 (0)