From 069c82bed7d8ca70a134e956f239d3157703d72e Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 13 Oct 2017 16:18:07 -0400 Subject: [PATCH] chore: coverage --- src/core/util/next-tick.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = () => {