Skip to content

Commit

Permalink
fetch-globals.js: fix test function name
Browse files Browse the repository at this point in the history
Fix an accidental copy/paste error to make test name unique.

fetch-globals.js: better test name
  • Loading branch information
ecki committed Sep 30, 2024
1 parent b108405 commit 51aadd0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const url = "http://localhost:8080";
assertSame('[object Response]', new Response().toString());
})();

(function shouldSupportProperStringOutput() {
(function shouldThrowWithInvalidArgument() {
// init/options must be undefined, null, or an object.
assertThrows(() => new Headers(42), TypeError);
assertThrows(() => new Request(url, 42), TypeError);
Expand Down

0 comments on commit 51aadd0

Please sign in to comment.