Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsKoelpin committed Feb 29, 2024
1 parent b4d950e commit 7641f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,12 +257,12 @@ describe("Tests the public API", () => {
const file = getBytes("a.ps");
const result = filetypemime(file);
expect(result).toContain("application/postscript");
});

it("detects svg", () => {
// File created using https://png2jpg.com
const file = getBytes("a.svg");
const result = filetypemime(file);
expect(result).toContain("image/svg+xml");

});
});

0 comments on commit 7641f57

Please sign in to comment.