Skip to content

Commit

Permalink
remove '<' and '>' from file path
Browse files Browse the repository at this point in the history
  • Loading branch information
goswinr authored and sgenoud committed Sep 27, 2024
1 parent 245baeb commit 3011ba9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/replicad/__tests__/toMatchSVGSnapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ function createSnapshotIdentifier({
)}-${currentTestName}-${counter}`
.replace(/\s+/g, "-")
.replace(/\//g, "-")
.replace(/>/g, "")
.replace(/</g, "")
.toLowerCase();

return snapshotIdentifier;
Expand Down

0 comments on commit 3011ba9

Please sign in to comment.