Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
ganchoradkov committed Sep 16, 2024
1 parent da12fae commit 4a96e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/test/events.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ describe("Events Client", () => {
const core = new Core({ ...TEST_CORE_OPTIONS, telemetryEnabled: false });
let initCalled = false;
// @ts-expect-error - accessing private properties
core.eventClient.sendPost = async (payload: any) => {
core.eventClient.sendEvent = async (payload: any) => {
initCalled = true;
expect(payload).toBeDefined();
expect(payload.length).to.eql(1);
Expand Down

0 comments on commit 4a96e1f

Please sign in to comment.