Skip to content

Commit 7b83ff9

Browse files
committed
fixup! browser fetch mock polyfill
Signed-off-by: Sam Gammon <[email protected]>
1 parent cde5fd8 commit 7b83ff9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/fetch/fetch_helpers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export function getFetch() {
187187

188188
export function setupMockFetch(fetchPolyfill, target) {
189189
if (fetchStubbed) {
190-
throw new Error('Cannot install fetch mock: already active.');
190+
return;
191191
}
192192
fetchStubbed = true;
193193
fetchQueue = [];

0 commit comments

Comments
 (0)