Skip to content

Commit 06b0795

Browse files
committed
fix test
1 parent 91bfbbb commit 06b0795

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/nextjs/test/performance/appRouterInstrumentation.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { WINDOW } from '@sentry/react';
1+
import { WINDOW, addEventProcessor } from '@sentry/react';
22
import type { Client, HandlerDataFetch } from '@sentry/types';
33
import * as sentryUtils from '@sentry/utils';
44
import { JSDOM } from 'jsdom';
@@ -36,6 +36,7 @@ describe('appRouterInstrumentPageLoad', () => {
3636
const emit = jest.fn();
3737
const client = {
3838
emit,
39+
addEventProcessor: jest.fn(),
3940
} as unknown as Client;
4041

4142
appRouterInstrumentPageLoad(client);

0 commit comments

Comments
 (0)