refactor: move mockWarn utility to @vue/shared

close #652
This commit is contained in:
Evan You
2020-01-22 09:29:35 -05:00
parent 95a8beb787
commit 2569890e31
20 changed files with 24 additions and 26 deletions

View File

@@ -1,11 +1,12 @@
import { watch, reactive, computed, nextTick, ref, h } from '../src/index'
import { render, nodeOps, serializeInner, mockWarn } from '@vue/runtime-test'
import { render, nodeOps, serializeInner } from '@vue/runtime-test'
import {
ITERATE_KEY,
DebuggerEvent,
TrackOpTypes,
TriggerOpTypes
} from '@vue/reactivity'
import { mockWarn } from '@vue/shared'
// reference: https://vue-composition-api-rfc.netlify.com/api.html#watch