Skip to content

Commit

Permalink
chore: rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jun 25, 2020
1 parent 9a8005f commit 58f4533
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/vue/__tests__/TransitionGroup.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,7 @@ describe('e2e: TransitionGroup', () => {
return document.querySelector('#container')!.innerHTML
})
})
// appear fixme
expect(beforeAppearSpy).not.toBeCalled()
expect(beforeAppearSpy).toBeCalled()
expect(onAppearSpy).not.toBeCalled()
expect(afterAppearSpy).not.toBeCalled()
expect(appearHtml).toBe(
Expand All @@ -448,15 +447,15 @@ describe('e2e: TransitionGroup', () => {
`<div class="test test-appear-active test-appear-from">c</div>`
)
await nextFrame()
expect(onAppearSpy).not.toBeCalled()
expect(onAppearSpy).toBeCalled()
expect(afterAppearSpy).not.toBeCalled()
expect(await html('#container')).toBe(
`<div class="test test-appear-active test-appear-to">a</div>` +
`<div class="test test-appear-active test-appear-to">b</div>` +
`<div class="test test-appear-active test-appear-to">c</div>`
)
await transitionFinish()
expect(afterAppearSpy).not.toBeCalled()
expect(afterAppearSpy).toBeCalled()
expect(await html('#container')).toBe(
`<div class="test">a</div>` +
`<div class="test">b</div>` +
Expand Down

0 comments on commit 58f4533

Please sign in to comment.