diff --git a/src/core/util/next-tick.js b/src/core/util/next-tick.js index abc5ef3b..9e4f476d 100644 --- a/src/core/util/next-tick.js +++ b/src/core/util/next-tick.js @@ -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 = () => {