Skip to content

Commit

Permalink
Update browser.test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
aashishmalik authored Aug 22, 2024
1 parent 65b177f commit 2037e66
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ describe('hybrid mode', () => {
expect(window.braze.changeUser).toBeCalledTimes(0);
});

it('should not call the necessary Braze methods for identify call', () => {
it('should call the necessary Braze methods for identify call', () => {
const config = {
appKey: 'APP_KEY',
trackAnonymousUser: true,
Expand Down Expand Up @@ -1118,6 +1118,6 @@ describe('hybrid mode', () => {
braze.identify(rudderElement);

// Expect the necessary Braze methods to be called with the correct values
expect(window.braze.changeUser).toBeCalledTimes(0);
expect(window.braze.changeUser).toBeCalledTimes(1);
});
});

0 comments on commit 2037e66

Please sign in to comment.