Skip to content

Commit

Permalink
update the test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Aug 28, 2024
1 parent c2952bc commit aaaebe6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.

This file was deleted.

Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,11 @@ export default function ({
'pdf',
REPORTS_FOLDER
);
const x = await comparePdf(sessionReportPath, baselinePath, {
compareThreshold: 0.035,
});
expect(x).to.be(true);
expect(
await comparePdf(sessionReportPath, baselinePath, {
compareThreshold: 0.035,
})
).to.be(true);
});

it('PNG file matches the baseline image', async function () {
Expand Down

0 comments on commit aaaebe6

Please sign in to comment.