Skip to content

Commit

Permalink
Merge pull request #558 from 18F/beechnut/remove-here
Browse files Browse the repository at this point in the history
Remove @here notifications
  • Loading branch information
mgwalker authored Nov 9, 2024
2 parents 2e1ed34 + 21009c6 commit 56aa604
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/scripts/federal-holidays-reminder.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const scheduleReminder = (_, config = process.env) => {

await postMessage({
channel: CHANNEL,
text: `<!here> Remember that *${holiday.date.format(
text: `Remember that *${holiday.date.format(
"dddd",
)}* is a federal holiday in observance of *${
holiday.alsoObservedAs ?? holiday.name
Expand Down
6 changes: 3 additions & 3 deletions src/scripts/federal-holidays-reminder.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe("holiday reminder", () => {
expect(postMessage).toHaveBeenCalledWith({
channel: "general",
text: expect.stringMatching(
/^<!here> Remember that \*Thursday\* is a federal holiday in observance of \*test holiday\*! .+$/,
/^Remember that \*Thursday\* is a federal holiday in observance of \*test holiday\*! .+$/,
),
});

Expand All @@ -127,7 +127,7 @@ describe("holiday reminder", () => {
expect(postMessage).toHaveBeenCalledWith({
channel: "test channel",
text: expect.stringMatching(
/^<!here> Remember that \*Thursday\* is a federal holiday in observance of \*test holiday\*! .+$/,
/^Remember that \*Thursday\* is a federal holiday in observance of \*test holiday\*! .+$/,
),
});

Expand All @@ -145,7 +145,7 @@ describe("holiday reminder", () => {
expect(postMessage).toHaveBeenCalledWith({
channel: "general",
text: expect.stringMatching(
/^<!here> Remember that \*Thursday\* is a federal holiday in observance of \*Veterans Day\* :salute-you:! .+$/,
/^Remember that \*Thursday\* is a federal holiday in observance of \*Veterans Day\* :salute-you:! .+$/,
),
});

Expand Down

0 comments on commit 56aa604

Please sign in to comment.