Skip to content

Commit 91568c5

Browse files
committed
test: use asyncDataDefaults.value
1 parent c462982 commit 91568c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/nuxt/composables.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ describe('useFetch', () => {
721721
immediate: false,
722722
})
723723

724-
expect(data.value).toBe(undefined)
724+
expect(data.value).toBe(asyncDataDefaults.value)
725725
q.value = 'test'
726726

727727
await flushPromises()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy