Skip to content

Commit

Permalink
fix: ignore coverage for batched uupdate fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Apr 20, 2020
1 parent 13fafff commit 68d1756
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ function failIfNoWindow() {
}
}

/* istanbul ignore next: We don't care about coverage for the fallback. */
const setImmediate = global.setImmediate || setTimeout;
function waitForBatchedUpdates() {
return new Promise((resolve) => setImmediate(() => setImmediate(resolve)));
Expand Down

0 comments on commit 68d1756

Please sign in to comment.