Skip to content

Commit

Permalink
Attempt to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
victorges committed Jan 17, 2024
1 parent 4c2b629 commit 076f89b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/api/src/webhooks/cannon.test.ts
Expand Up @@ -286,7 +286,8 @@ describe("webhook cannon", () => {
expect(callCount).toBe(1);
expect(receivedEvent).toBe("stream.started");

sem = semaphore();
// at this point the semaphore is re-acquired cause we just waite above

await server.queue.publishWebhook("events.stream.idle", {
type: "webhook_event",
id: "webhook_test_42",
Expand Down

0 comments on commit 076f89b

Please sign in to comment.