mirror of https://github.com/vuejs/core.git
revert: test(runtime-vapor): add misc test
This reverts commit 63dbc26f34
.
https://github.com/vuejs/core-vapor/pull/246
This commit is contained in:
parent
63dbc26f34
commit
20b6594d62
|
@ -1,14 +0,0 @@
|
|||
import { isReactive, reactive } from 'vue'
|
||||
import { makeRender } from './_utils'
|
||||
|
||||
const define = makeRender()
|
||||
|
||||
describe('misc', () => {
|
||||
test.fails('component public instance should not be observable', () => {
|
||||
const { instance } = define({}).render()
|
||||
expect(instance).toBeDefined()
|
||||
const r = reactive(instance!)
|
||||
expect(r).toBe(instance)
|
||||
expect(isReactive(r)).toBe(false)
|
||||
})
|
||||
})
|
Loading…
Reference in New Issue