chore: run updated prettier

This commit is contained in:
Evan You
2021-07-19 18:24:18 -04:00
parent 69344ff1ae
commit 47f488350c
110 changed files with 695 additions and 698 deletions

View File

@@ -721,7 +721,7 @@ function testRender(type: string, render: typeof renderToString) {
test('with client-compiled vnode slots', async () => {
const Child = {
__scopeId: 'data-v-child',
render: function(this: any) {
render: function (this: any) {
return h('div', null, [renderSlot(this.$slots, 'default')])
}
}
@@ -1069,7 +1069,7 @@ function testRender(type: string, render: typeof renderToString) {
renderError = e
}
expect(renderError).toBe(null)
expect(((capturedError as unknown) as Error).message).toBe('An error')
expect((capturedError as unknown as Error).message).toBe('An error')
})
})
}

View File

@@ -43,7 +43,7 @@ describe('ssr: renderList', () => {
})
it('should render an item for entry in an iterable', () => {
const iterable = function*() {
const iterable = function* () {
yield 1
yield 2
yield 3