Skip to content

Commit f092ae9

Browse files
committed
fix linter errors
1 parent 3c827a8 commit f092ae9

File tree

2 files changed

+8
-17
lines changed

2 files changed

+8
-17
lines changed

packages/replay/src/replay.ts

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
/* eslint-disable max-lines */ // TODO: We might want to split this file up
22
import { addGlobalEventProcessor, captureException, getCurrentHub, setContext } from '@sentry/core';
33
import type { Breadcrumb, ReplayEvent, ReplayRecordingMode, TransportMakeRequestResponse } from '@sentry/types';
4-
import {
5-
addInstrumentationHandler,
6-
disabledUntil,
7-
isRateLimited,
8-
logger,
9-
RateLimits,
10-
updateRateLimits,
11-
} from '@sentry/utils';
4+
import type { RateLimits } from '@sentry/utils';
5+
import { addInstrumentationHandler, disabledUntil, isRateLimited, logger, updateRateLimits } from '@sentry/utils';
126
import { EventType, record } from 'rrweb';
137

148
import {
@@ -275,10 +269,6 @@ export class ReplayContainer implements ReplayContainerInterface {
275269
* not as thorough of a shutdown as `stop()`.
276270
*/
277271
public pause(): void {
278-
console.log('I was called');
279-
280-
console.trace();
281-
282272
this._isPaused = true;
283273
try {
284274
if (this._stopRecording) {

packages/replay/test/integration/rateLimiting.test.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
import { Transport, TransportMakeRequestResponse } from '@sentry/types';
2-
import { ReplayContainer } from '../../src/replay';
1+
import { getCurrentHub } from '@sentry/core';
2+
import type { Transport, TransportMakeRequestResponse } from '@sentry/types';
3+
4+
import { DEFAULT_FLUSH_MIN_DELAY, SESSION_IDLE_DURATION } from '../../src/constants';
5+
import type { ReplayContainer } from '../../src/replay';
36
import { BASE_TIMESTAMP, mockSdk } from '../index';
47
import { mockRrweb } from '../mocks/mockRrweb';
5-
import { useFakeTimers } from '../utils/use-fake-timers';
6-
import { getCurrentHub } from '@sentry/core';
78
import { clearSession } from '../utils/clearSession';
8-
import { DEFAULT_FLUSH_MIN_DELAY, SESSION_IDLE_DURATION } from '../../src/constants';
9+
import { useFakeTimers } from '../utils/use-fake-timers';
910

1011
useFakeTimers();
1112

0 commit comments

Comments
 (0)