Skip to content

Commit 58f4533

Browse files
committed
chore: rebase
1 parent 9a8005f commit 58f4533

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/vue/__tests__/TransitionGroup.spec.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,7 @@ describe('e2e: TransitionGroup', () => {
438438
return document.querySelector('#container')!.innerHTML
439439
})
440440
})
441-
// appear fixme
442-
expect(beforeAppearSpy).not.toBeCalled()
441+
expect(beforeAppearSpy).toBeCalled()
443442
expect(onAppearSpy).not.toBeCalled()
444443
expect(afterAppearSpy).not.toBeCalled()
445444
expect(appearHtml).toBe(
@@ -448,15 +447,15 @@ describe('e2e: TransitionGroup', () => {
448447
`<div class="test test-appear-active test-appear-from">c</div>`
449448
)
450449
await nextFrame()
451-
expect(onAppearSpy).not.toBeCalled()
450+
expect(onAppearSpy).toBeCalled()
452451
expect(afterAppearSpy).not.toBeCalled()
453452
expect(await html('#container')).toBe(
454453
`<div class="test test-appear-active test-appear-to">a</div>` +
455454
`<div class="test test-appear-active test-appear-to">b</div>` +
456455
`<div class="test test-appear-active test-appear-to">c</div>`
457456
)
458457
await transitionFinish()
459-
expect(afterAppearSpy).not.toBeCalled()
458+
expect(afterAppearSpy).toBeCalled()
460459
expect(await html('#container')).toBe(
461460
`<div class="test">a</div>` +
462461
`<div class="test">b</div>` +

0 commit comments

Comments
 (0)