Skip to content

Commit

Permalink
Fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
vcarl committed Jan 14, 2025
1 parent cc27bb5 commit 967c70c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
6 changes: 5 additions & 1 deletion src/features/scheduled-messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ import type * as discord from "discord.js";
import { guildId as defaultGuildId } from "../helpers/env.js";
import { CHANNELS } from "../constants/channels.js";
import { logger } from "./log.js";
import { FREQUENCY, scheduleTask, SPECIFIED_TIMES } from "../helpers/schedule.js";
import {
FREQUENCY,
scheduleTask,
SPECIFIED_TIMES,
} from "../helpers/schedule.js";
import { ChannelType } from "discord.js";

type MessageConfig = {
Expand Down
8 changes: 5 additions & 3 deletions src/helpers/string.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ describe("extractEmoji", () => {
expect(extractEmoji("Chuỗi kiểm tra và không có gì")).toEqual([]);
});
it("doesn’t match funky invisible Unicode characters", () => {
// eslint-disable-next-line no-irregular-whitespace
expect(extractEmoji(`   
`)).toEqual([]);
expect(
// eslint-disable-next-line no-irregular-whitespace
extractEmoji(`   
`),
).toEqual([]);
});
});

Expand Down

0 comments on commit 967c70c

Please sign in to comment.