Skip to content

Commit

Permalink
test: prevent regressions from a flipped send switch statement
Browse files Browse the repository at this point in the history
  • Loading branch information
zimeg committed Dec 5, 2024
1 parent ccebf00 commit eb4ebb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/send.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ describe("send", () => {
});

it("token", async () => {
process.env.SLACK_WEBHOOK_URL = "https://example.com"; // https://github.com/slackapi/slack-github-action/issues/373
mocks.api.resolves({ ok: true });
mocks.core.getInput.withArgs("method").returns("chat.postMessage");
mocks.core.getInput.withArgs("token").returns("xoxb-example");
Expand Down

0 comments on commit eb4ebb9

Please sign in to comment.