test: move mockWarn into setup files

This commit is contained in:
Evan You
2020-07-27 22:58:37 -04:00
parent d4527230e4
commit 5c74243211
35 changed files with 103 additions and 199 deletions

View File

@@ -8,10 +8,6 @@ import {
serialize,
serializeInner
} from '@vue/runtime-test'
import { mockWarn } from '@vue/shared'
mockWarn()
function toSpan(content: any) {
if (typeof content === 'string') {
return h('span', content.toString())