Skip to content

Commit a493997

Browse files
committed
Fix browser plugin client tests.
1 parent dff637c commit a493997

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/sdk/browser/__tests__/BrowserClient.plugins.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ it('registers multiple plugins and executes all hooks', async () => {
150150
// Test that both hooks work
151151
await client.identify({ key: 'user-key', kind: 'user' });
152152
client.variation('flag-key', false);
153+
client.track('event-key', { data: true }, 42);
153154

154155
expect(mockHook1.beforeEvaluation).toHaveBeenCalled();
155156
expect(mockHook1.afterEvaluation).toHaveBeenCalled();

0 commit comments

Comments
 (0)