Skip to content

Commit b4318ad

Browse files
committed
test(e2e): fix capture nextjs api e2e test
1 parent b7d26d5 commit b4318ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/capture.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ test('should capture back-end bug in nextjs-api example', async ({ page }) => {
4949
const capturesAfter = await fetchCaptures('sk_3X-otNR_ZxIdw8cVxNbFcDivQF9B5Vw_bGu564jR35GMyVXX');
5050
const latestCapture = getLatestCapture(capturesAfter, startTime)
5151
expect(latestCapture.capturedUserId).toEqual('user-51');
52-
expect(latestCapture.functionName).toEqual('User not found');
52+
expect(latestCapture.functionName).toEqual('/api/user invariant state, user not found.');
5353
expect(capturesAfter.length).toBeGreaterThan(capturesBefore.length);
5454
})
5555

0 commit comments

Comments
 (0)