Pārlūkot izejas kodu

chore: coverage

Evan You 8 gadi atpakaļ
vecāks
revīzija
069c82bed7
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      src/core/util/next-tick.js

+ 2 - 1
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 = () => {