We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e73867d commit 1182e9eCopy full SHA for 1182e9e
test/sign.test.ts
@@ -47,9 +47,9 @@ describe("sign", () => {
47
});
48
49
50
- it("throws with eventPayload as object", () => {
+ it("throws with eventPayload as object", async () => {
51
// @ts-expect-error
52
- expect(() => sign(secret, eventPayload)).rejects.toThrow(
+ await expect(() => sign(secret, eventPayload)).rejects.toThrow(
53
"[@octokit/webhooks-methods] payload must be a string",
54
);
55
0 commit comments