chore: fix typos (#1090)

This commit is contained in:
HiiTea
2020-05-01 21:42:58 +08:00
committed by GitHub
parent a6a939f5e0
commit 22717772dd
25 changed files with 42 additions and 42 deletions

View File

@@ -664,7 +664,7 @@ describe('BaseTransition', () => {
expect(props.onAfterEnter).toHaveBeenCalledTimes(1)
assertCalledWithEl(props.onAfterEnter, falseSerialized)
// toggele again
// toggle again
toggle.value = true
await nextTick()
expect(serializeInner(root)).toBe(`${falseSerialized}<!---->`)
@@ -740,7 +740,7 @@ describe('BaseTransition', () => {
await nextTick()
// expected behavior: the previous true branch is preserved,
// and a placeholder is injected for the replacement.
// the leaving node is repalced with the replace node (of the same branch)
// the leaving node is replaced with the replace node (of the same branch)
// when it finishes leaving
expect(serializeInner(root)).toBe(`${trueSerialized}<!---->`)
// enter hooks should never be called (for neither branch)