test: improve test

This commit is contained in:
Julien Huang 2025-01-12 00:55:13 +01:00
parent cbdbd6d9ef
commit 6dcb8b7c70

View File

@ -72,6 +72,8 @@ describe('loadNuxt', () => {
expect(asyncNameStorage.getStore()).toBe(nuxt.__name) expect(asyncNameStorage.getStore()).toBe(nuxt.__name)
}) })
expect(asyncNameStorage.getStore()).toBeUndefined()
// @ts-expect-error - random hook // @ts-expect-error - random hook
await nuxt.callHook('test') await nuxt.callHook('test')