test: all tests passing!
This commit is contained in:
parent
bd1b06f1cc
commit
2ee60e0a03
@ -12,8 +12,7 @@ import {
|
||||
nextTick,
|
||||
resetOps,
|
||||
dumpOps,
|
||||
NodeOpTypes,
|
||||
renderInstance
|
||||
NodeOpTypes
|
||||
} from '@vue/runtime-test'
|
||||
|
||||
describe('Fragments', () => {
|
||||
@ -24,7 +23,7 @@ describe('Fragments', () => {
|
||||
}
|
||||
}
|
||||
const root = nodeOps.createElement('div')
|
||||
await renderInstance(App)
|
||||
await render(h(App), root)
|
||||
expect(serialize(root)).toBe(`<div><div>one</div>two</div>`)
|
||||
expect(root.children.length).toBe(2)
|
||||
expect(root.children[0]).toMatchObject({
|
||||
|
Loading…
Reference in New Issue
Block a user