mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-22 11:22:43 +00:00
test: improve test
This commit is contained in:
parent
cbdbd6d9ef
commit
6dcb8b7c70
@ -72,6 +72,8 @@ describe('loadNuxt', () => {
|
||||
expect(asyncNameStorage.getStore()).toBe(nuxt.__name)
|
||||
})
|
||||
|
||||
expect(asyncNameStorage.getStore()).toBeUndefined()
|
||||
|
||||
// @ts-expect-error - random hook
|
||||
await nuxt.callHook('test')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user