From 6dcb8b7c70c793317b7a25a53df27f8ff5a9b4ba Mon Sep 17 00:00:00 2001 From: Julien Huang Date: Sun, 12 Jan 2025 00:55:13 +0100 Subject: [PATCH] test: improve test --- packages/nuxt/test/load-nuxt.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nuxt/test/load-nuxt.test.ts b/packages/nuxt/test/load-nuxt.test.ts index e1eb06beb1..16f756e1fa 100644 --- a/packages/nuxt/test/load-nuxt.test.ts +++ b/packages/nuxt/test/load-nuxt.test.ts @@ -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')