From c318bcc9a2365c2423623fa67af13663a38622ef Mon Sep 17 00:00:00 2001 From: Julien Huang Date: Sat, 11 Jan 2025 21:51:25 +0100 Subject: [PATCH] test: assert warn is not called to make sure nuxtCtx isn't called --- packages/nuxt/test/load-nuxt.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nuxt/test/load-nuxt.test.ts b/packages/nuxt/test/load-nuxt.test.ts index c151274d70..e24790fe22 100644 --- a/packages/nuxt/test/load-nuxt.test.ts +++ b/packages/nuxt/test/load-nuxt.test.ts @@ -53,6 +53,7 @@ describe('loadNuxt', () => { cwd: repoRoot, }), ]) + expect(console.warn).not.toHaveBeenCalled() }) })