Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli authored Dec 3, 2024
1 parent e87fe0a commit 4d1da70
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { waitForPromise } from '@ember/test-waiters';

const originalFetch = globalThis.fetch;

export function fetch(...args) {
let promise = originalFetch(...args);
let promise = globalThis.fetch(...args);

waitForPromise(promise);

Expand Down

0 comments on commit 4d1da70

Please sign in to comment.