test: move mockWarn into setup files
This commit is contained in:
@@ -10,11 +10,8 @@ import {
|
||||
serializeInner
|
||||
} from '@vue/runtime-test'
|
||||
import { render as domRender, nextTick } from 'vue'
|
||||
import { mockWarn } from '@vue/shared'
|
||||
|
||||
describe('component props', () => {
|
||||
mockWarn()
|
||||
|
||||
test('stateful', () => {
|
||||
let props: any
|
||||
let attrs: any
|
||||
|
||||
Reference in New Issue
Block a user