chore: fix typos (#103)

This commit is contained in:
Vladimir
2019-10-05 21:48:54 +07:00
committed by Evan You
parent ec8f7c6375
commit f48a2ffc76
10 changed files with 26 additions and 26 deletions

View File

@@ -13,7 +13,7 @@ import {
describe('error handling', () => {
mockWarn()
test('propagtaion', () => {
test('propagation', () => {
const err = new Error('foo')
const fn = jest.fn()
@@ -365,8 +365,8 @@ describe('error handling', () => {
const onError = jest.spyOn(console, 'error')
onError.mockImplementation(() => {})
const groupCollpased = jest.spyOn(console, 'groupCollapsed')
groupCollpased.mockImplementation(() => {})
const groupCollapsed = jest.spyOn(console, 'groupCollapsed')
groupCollapsed.mockImplementation(() => {})
const log = jest.spyOn(console, 'log')
log.mockImplementation(() => {})
@@ -397,7 +397,7 @@ describe('error handling', () => {
expect(onError).toHaveBeenCalledWith(err)
onError.mockRestore()
groupCollpased.mockRestore()
groupCollapsed.mockRestore()
log.mockRestore()
process.env.NODE_ENV = 'test'
})

View File

@@ -285,7 +285,7 @@ describe('renderer: suspense', () => {
expect(serializeInner(root)).toBe(`<div>fallback</div>`)
expect(calls).toEqual([])
// remvoe the async dep before it's resolved
// remove the async dep before it's resolved
toggle.value = false
await nextTick()
// should cause the suspense to resolve immediately