chore: run updated prettier
This commit is contained in:
@@ -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')
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user