mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-21 13:15:12 +00:00
chore: spacing
This commit is contained in:
parent
2d66709932
commit
8e180664ce
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user