Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Sep 20, 2024
1 parent 9414c40 commit cf142bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import asset from "data:image/svg+xml;utf8,<svg><title>icon-square-small</title></svg>"

it("should compile with correct filename", () => {
expect(asset).toMatch(/public\/media\/\.[0-9a-zA-Z]{8}\.svg/);
expect(asset).toMatch(/public\/media\/[0-9a-zA-Z]{20}\.[0-9a-zA-Z]{8}\.svg/);
});

0 comments on commit cf142bd

Please sign in to comment.