Skip to content

Commit

Permalink
fix: Screenshot.defaults usage (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuceb authored Jun 3, 2020
1 parent aadcb60 commit 9bad387
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cypress/integration/examples/misc.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,11 @@ context('Misc', () => {
scale: false,
disableTimersAndAnimations: true,
screenshotOnRunFailure: true,
beforeScreenshot () { },
afterScreenshot () { },
// TODO: remove this when Cypress typedefs are fixed
// https://github.com/cypress-io/cypress/pull/7445
// @ts-ignore
onBeforeScreenshot () { },
onAfterScreenshot () { },
})
})
})
Expand Down

0 comments on commit 9bad387

Please sign in to comment.