Skip to content

Commit

Permalink
remove expect.assertions(1)
Browse files Browse the repository at this point in the history
  • Loading branch information
kahirokunn committed Oct 3, 2020
1 parent 4dc4cd0 commit dfb1515
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export const imageSnapshot = (customConfig: Partial<ImageSnapshotConfig> = {}) =
return puppeteerTest({
...config,
async testBody(page, options) {
expect.assertions(1);
const element = await beforeScreenshot(page, options);
const image = await (element || page).screenshot(getScreenshotOptions(options));
await afterScreenshot({ image, context: options.context });
Expand Down

0 comments on commit dfb1515

Please sign in to comment.