Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hassiebp committed Dec 16, 2024
1 parent 77ea34b commit ec41356
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integration-test/langfuse-integration-error-handling.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ describe("No errors should be thrown by SDKs", () => {
await handler.shutdownAsync();

// expect no errors to be thrown (would kill jest)
expect(global.console.error).toHaveBeenCalledTimes(1);
expect(global.console.error).toHaveBeenCalledTimes(0);
}, 10000);

it("incorrect keys", async () => {
Expand All @@ -109,7 +109,7 @@ describe("No errors should be thrown by SDKs", () => {
await handler.shutdownAsync();

// expect no errors to be thrown (would kill jest)
expect(global.console.error).toHaveBeenCalledTimes(1);
expect(global.console.error).toHaveBeenCalledTimes(0);
}, 10000);
});
});
Expand Down Expand Up @@ -185,7 +185,7 @@ describe("shutdown async behavior", () => {
}

await handler.shutdownAsync();
expect(flushCallback).toHaveBeenCalledTimes(15);
expect(flushCallback).toHaveBeenCalledTimes(8);

const anyCallbackCount = anyCallback.mock.calls.length;

Expand Down

0 comments on commit ec41356

Please sign in to comment.