Skip to content

Commit

Permalink
chore: coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Oct 13, 2017
1 parent a11d6f3 commit 069c82b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/util/next-tick.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@ if (typeof setImmediate !== 'undefined' && isNative(setImmediate)) {
port.postMessage(1)
}
} else {
/* istanbul ignore next */
macroTimerFunc = () => {
setTimeout(flushCallbacks, 0)
}
}

// Determine MicroTask defer implementation.
// $flow-disable-line, istanbul ignore next
/* istanbul ignore next, $flow-disable-line */
if (typeof Promise !== 'undefined' && isNative(Promise)) {
const p = Promise.resolve()
microTimerFunc = () => {
Expand Down

0 comments on commit 069c82b

Please sign in to comment.