mirror of
https://gitee.com/vuejs/vue.git
synced 2024-11-30 11:07:51 +08:00
chore: coverage
This commit is contained in:
parent
a11d6f37c2
commit
069c82bed7
@ -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 = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user