test: move mockWarn into setup files
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
import { reactive, effect, toRaw, isReactive } from '../../src'
|
||||
import { mockWarn } from '@vue/shared'
|
||||
|
||||
describe('reactivity/collections', () => {
|
||||
describe('Map', () => {
|
||||
mockWarn()
|
||||
|
||||
test('instanceof', () => {
|
||||
const original = new Map()
|
||||
const observed = reactive(original)
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
import { reactive, effect, isReactive, toRaw } from '../../src'
|
||||
import { mockWarn } from '@vue/shared'
|
||||
|
||||
describe('reactivity/collections', () => {
|
||||
describe('Set', () => {
|
||||
mockWarn()
|
||||
|
||||
it('instanceof', () => {
|
||||
const original = new Set()
|
||||
const observed = reactive(original)
|
||||
|
||||
Reference in New Issue
Block a user