Skip to content

Commit

Permalink
Update test file
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriyyakym committed Jan 9, 2025
1 parent 30762a7 commit 576df1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/analytics-nextjs/src/plugins/testSpy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ it('logs events correctly', async () => {
await analytics.track('Test Event');

expect(trackSpy).toHaveBeenCalled();
expect(eventCtx).not.toBe(undefined);
expect(eventCtx.event.event).toBe('Test Event');
expect(eventCtx!).not.toBe(undefined);
expect(eventCtx!.event.event).toBe('Test Event');
});

0 comments on commit 576df1a

Please sign in to comment.