Skip to content

Commit

Permalink
fix: failling test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghustavh97 committed Nov 21, 2024
1 parent 5156584 commit aa53a15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/assets/svgs/text.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion test/src/test.pathing.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe("pathing", () => {
var expected = path.join(path2.expected.output.index, "text.png");
Svg2(source).png().toFile(destination).then(() => {
assert.isTrue(fs.existsSync(destination), "exported image does not exist.");
looksame(destination, expected, { strict: true }, (err, data) => {
looksame(destination, expected, { strict: false }, (err, data) => {
if (data) {
assert.isTrue(data.equal, "images are not equal");
}
Expand Down

0 comments on commit aa53a15

Please sign in to comment.