Skip to content

Commit 03cb320

Browse files
committed
Fix nextjs test
1 parent bb37b6c commit 03cb320

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/nextjs/test/index.server.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ describe('Server init()', () => {
103103
transaction.finish();
104104

105105
expect(sendEvent).not.toHaveBeenCalled();
106-
expect(captureEvent.mock.results[0].value).toBeUndefined();
106+
expect(captureEvent).toHaveBeenCalled();
107107
expect(logError).toHaveBeenCalledWith(new SentryError('An event processor returned null, will not send event.'));
108108
});
109109

0 commit comments

Comments
 (0)