Skip to content

Commit

Permalink
fix(session replay): cleanup from rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelly Wallach committed Jul 11, 2024
1 parent 16c077e commit 5d72c12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/session-replay-browser/test/session-replay.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ describe('SessionReplay', () => {

sessionReplay.config && expectationFn(sessionReplay.config);
});

test('should set up blur and focus event listeners', async () => {
const stopRecordingMock = jest.fn();
sessionReplay.recordCancelCallback = stopRecordingMock;
Expand Down Expand Up @@ -846,8 +847,8 @@ describe('SessionReplay', () => {
// Reset this to false, it is set in init
sessionReplay.sessionTargetingMatch = false;
record.mockClear();
evaluateTargetingMock.mockClear();
evaluateTargetingMock = jest.spyOn(TargetingManager, 'evaluateTargetingAndStore').mockResolvedValue(true);
evaluateTargetingMock.mockClear();
});
test('should return undefined if no identifiers set', async () => {
sessionReplay.identifiers = undefined;
Expand Down

0 comments on commit 5d72c12

Please sign in to comment.