Skip to content

Commit ac77102

Browse files
committed
fix tests
1 parent b9f73de commit ac77102

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/replay/test/unit/index-errorSampleRate.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { captureException, getCurrentHub } from '@sentry/core';
1+
import { captureException } from '@sentry/core';
22

33
import { REPLAY_SESSION_KEY, VISIBILITY_CHANGE_TIMEOUT, WINDOW } from '../../src/constants';
44
import { addEvent } from '../../src/util/addEvent';
@@ -401,7 +401,7 @@ it('sends a replay after loading the session multiple times', async () => {
401401
jest.runAllTimers();
402402
await new Promise(process.nextTick);
403403

404-
expect(replay).toHaveentReplay({
404+
expect(replay).toHaveSentReplay({
405405
events: JSON.stringify([{ data: { isCheckout: true }, timestamp: BASE_TIMESTAMP, type: 2 }, TEST_EVENT]),
406406
});
407407

0 commit comments

Comments
 (0)