test: move mockWarn into setup files
This commit is contained in:
@@ -13,11 +13,8 @@ import {
|
||||
getCurrentInstance,
|
||||
defineComponent
|
||||
} from '@vue/runtime-test'
|
||||
import { mockWarn } from '@vue/shared'
|
||||
|
||||
describe('api: createApp', () => {
|
||||
mockWarn()
|
||||
|
||||
test('mount', () => {
|
||||
const Comp = defineComponent({
|
||||
props: {
|
||||
|
||||
Reference in New Issue
Block a user