mirror of https://github.com/vuejs/core.git
wip: test
This commit is contained in:
parent
0f3dffc23c
commit
205858e8be
|
@ -199,6 +199,13 @@ describe('vapor transition', () => {
|
|||
)
|
||||
|
||||
await transitionFinish()
|
||||
expect(await html(containerSelector)).toBe(`<div>vapor compA</div>`)
|
||||
|
||||
await nextFrame()
|
||||
expect(await html(containerSelector)).toBe(
|
||||
`<div class="fade-enter-from fade-enter-active">vapor compA</div>`,
|
||||
)
|
||||
|
||||
await nextFrame()
|
||||
expect(await html(containerSelector)).toBe(
|
||||
`<div class="fade-enter-active fade-enter-to">vapor compA</div>`,
|
||||
|
@ -235,4 +242,16 @@ describe('vapor transition', () => {
|
|||
)
|
||||
|
||||
test.todo('should work with in-out mode', async () => {}, E2E_TIMEOUT)
|
||||
|
||||
test.todo('transition hooks', async () => {}, E2E_TIMEOUT)
|
||||
|
||||
describe('interop', () => {
|
||||
test.todo('interop: render vdom component', async () => {}, E2E_TIMEOUT)
|
||||
|
||||
test.todo(
|
||||
'interop: switch between vdom/vapor component',
|
||||
async () => {},
|
||||
E2E_TIMEOUT,
|
||||
)
|
||||
})
|
||||
})
|
||||
|
|
|
@ -130,7 +130,9 @@ function transformComponentElement(
|
|||
}
|
||||
|
||||
context.dynamic.flags |= DynamicFlag.NON_TEMPLATE | DynamicFlag.INSERT
|
||||
context.registerOperation({
|
||||
// context.registerOperation()
|
||||
// TODO revert wait for https://github.com/vuejs/core/pull/12951 get merged
|
||||
context.block.operation.unshift({
|
||||
type: IRNodeTypes.CREATE_COMPONENT_NODE,
|
||||
id: context.reference(),
|
||||
tag,
|
||||
|
|
Loading…
Reference in New Issue