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,5 +1,4 @@
import {
mockWarn,
createApp,
nodeOps,
resolveComponent,
@@ -9,6 +8,7 @@ import {
resolveDynamicComponent,
getCurrentInstance
} from '@vue/runtime-test'
import { mockWarn } from '@vue/shared'
describe('resolveAssets', () => {
test('should work', () => {

View File

@@ -1,5 +1,5 @@
import { toHandlers } from '../../src/helpers/toHandlers'
import { mockWarn } from '@vue/runtime-test'
import { mockWarn } from '@vue/shared'
describe('toHandlers', () => {
mockWarn()