chore: spacing

This commit is contained in:
Daniel Roe 2024-02-25 10:30:37 +00:00 committed by GitHub
parent 2d66709932
commit 8e180664ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -412,7 +412,7 @@ describe('useHydration', () => {
it('should hydrate value from payload', async () => {
let val: any
const nuxtApp = useNuxtApp()
useHydration('key', () => { }, (fromPayload) => { val = fromPayload })
useHydration('key', () => {}, (fromPayload) => { val = fromPayload })
await nuxtApp.hooks.callHook('app:created', nuxtApp.vueApp)
expect(val).toMatchInlineSnapshot('undefined')
@ -483,7 +483,7 @@ describe('useId', () => {
const vals = new Set<string>()
for (let index = 0; index < 100; index++) {
mount(defineComponent({
setup() {
setup () {
const id = useId()
vals.add(id)
return () => h('div', id)
@ -495,7 +495,7 @@ describe('useId', () => {
it('generates unique ids per-component', () => {
const component = defineComponent({
setup() {
setup () {
const id = useId()
return () => h('div', id)
}