revert: test(runtime-vapor): add misc test

This reverts commit 63dbc26f34.
https://github.com/vuejs/core-vapor/pull/246
This commit is contained in:
三咲智子 Kevin Deng 2024-06-22 17:36:32 +08:00
parent 63dbc26f34
commit 20b6594d62
No known key found for this signature in database
1 changed files with 0 additions and 14 deletions

View File

@ -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)
})
})