Skip to content

Commit

Permalink
Failed fetches throw TypeError
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo authored and sideshowbarker committed Oct 29, 2023
1 parent 6b960ee commit a862c87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
});

return Promise.all([
promise_rejects_js(t, Error, import("/common/dummy.json", { with: { type: "json" } })),
promise_rejects_js(t, TypeError, import("/common/dummy.json", { with: { type: "json" } })),
check_spv,
]);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
});

return Promise.all([
promise_rejects_js(t, Error, import("./resources/blocked.css", { with: { type: "css" } })),
promise_rejects_js(t, TypeError, import("./resources/blocked.css", { with: { type: "css" } })),
check_spv,
]);
});
Expand Down

0 comments on commit a862c87

Please sign in to comment.