Skip to content

Commit

Permalink
test emojis mixed with other chars
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-lozano committed Feb 16, 2023
1 parent 1066a64 commit 6ecdcef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions deno/lib/__tests__/string.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ test("emoji validations", () => {
emoji.parse("🍺👩‍🚀🫡");
emoji.parse("💚 💙 💜 💛 ❤️");
expect(() => emoji.parse(":-)")).toThrow();
expect(() => emoji.parse("😀 is an emoji")).toThrow.()
} catch (err) {}
});

Expand Down
1 change: 1 addition & 0 deletions src/__tests__/string.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ test("emoji validations", () => {
emoji.parse("🍺👩‍🚀🫡");
emoji.parse("💚 💙 💜 💛 ❤️");
expect(() => emoji.parse(":-)")).toThrow();
expect(() => emoji.parse("😀 is an emoji"))
} catch (err) {}
});

Expand Down

0 comments on commit 6ecdcef

Please sign in to comment.