We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package.json
{ "cypress": "^8.0.0", "cypress-image-snapshot": "^4.0.1", "typescript": "^4.1.5", }
import { addMatchImageSnapshotCommand } from 'cypress-image-snapshot/command'; addMatchImageSnapshotCommand({ customDiffConfig: { threshold: 0.15 }, // threshold for each pixel });
The readme show it's a possible usage:
cypress-image-snapshot/README.md
Line 68 in 0510252
VSCode show me this error message, despite the documentation
Argument of type '{ customDiffConfig: { threshold: number; }; }' is not assignable to parameter of type 'string'.ts(2345)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
package.json
cypress/support/commands/snapshot.ts
Documentation
The readme show it's a possible usage:
cypress-image-snapshot/README.md
Line 68 in 0510252
Error
VSCode show me this error message, despite the documentation
The text was updated successfully, but these errors were encountered: