Skip to content

Commit 9046777

Browse files
committed
fix
1 parent 4e22546 commit 9046777

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

e2e/cases/browser-logs/unhandled-rejection/index.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,4 @@ test('should forward browser unhandled rejection logs to terminal', async ({
2424
await rsbuild.expectLog(
2525
'error [browser] Uncaught (in promise) AbortError: signal is aborted without reason (src/index.js:17:0)',
2626
);
27-
await rsbuild.expectLog(
28-
'error [browser] Uncaught (in promise) AggregateError: All promises were rejected',
29-
);
3027
});

e2e/cases/browser-logs/unhandled-rejection/src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ Promise.reject('string');
66
Promise.reject({ name: 'Custom', message: 'custom message' });
77
Promise.reject(new Error('reason'));
88
Promise.reject(new DOMException('Aborted', 'AbortError'));
9-
Promise.any([Promise.reject(new Error('A')), Promise.reject('B')]);
109

1110
(async () => {
1211
throw new Error('Thrown in async');

0 commit comments

Comments
 (0)