Skip to content

Commit

Permalink
Remove a test that now correctly fails
Browse files Browse the repository at this point in the history
  • Loading branch information
vcarl committed Jun 6, 2024
1 parent f361076 commit 16fa402
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/discord/automod.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ import { isSpam } from "./automod";

test("isSpam has a reasonable threshold", () => {
expect(isSpam("Hello @everyone")).toBe(true);
expect(isSpam("free nitro 3 month https://discord-example.ru/accept")).toBe(
true,
);
expect(isSpam("free nitro https://example.ru")).toBe(true);
expect(isSpam("@everyone https://discord.gg/garbage join now")).toBe(true);
expect(isSpam("https://discord.gg/garbage join now")).toBe(true);
expect(
Expand Down

0 comments on commit 16fa402

Please sign in to comment.