Skip to content

Commit

Permalink
Update src/workerd/api/tests/error-in-error-event-test.js
Browse files Browse the repository at this point in the history
Co-authored-by: Yagiz Nizipli <yagiz@cloudflare.com>
  • Loading branch information
jasnell and anonrig authored Sep 24, 2024
1 parent e9bfcc4 commit 73f278f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/workerd/api/tests/error-in-error-event-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const test = {
async test(_, env) {
try {
await env.subrequest.fetch('http://example.org');
throw new Error('should have thrown');
} catch (e) {
strictEqual(e.message, 'boom (real)');
}
Expand Down

0 comments on commit 73f278f

Please sign in to comment.