Skip to content

Commit 6f874c3

Browse files
committed
test: remove outdated test
1 parent ebf773c commit 6f874c3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/sign.test.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,6 @@ describe("sign", () => {
3535
);
3636
});
3737

38-
test("sign({secret, algorithm}) throws with invalid algorithm", async () => {
39-
await expect(() =>
40-
// @ts-expect-error
41-
sign({ secret, algorithm: "sha2" }, JSON.stringify(eventPayload)),
42-
).rejects.toThrow(
43-
"[@octokit/webhooks] Algorithm sha2 is not supported. Must be 'sha256'",
44-
);
45-
});
46-
4738
describe("with eventPayload as string", () => {
4839
describe("returns expected sha256 signature", () => {
4940
test("sign(secret, eventPayload)", async () => {

0 commit comments

Comments
 (0)