Typescript
Cypress plugin
Import and initialise the Cypress image diff plugin:
Cypress support
Import compareSnapshotCommand command:
Troubleshooting
>(0, command_1.default) is not a function
Extend your tsconfig.json
compilerOptions
with:
in this case your tsconfig.json should look like this:
Note: You have to restart the Cypress application to reload the changes
Last updated