From 4c735faac32d2f40f33b1d331f57fb126b44c9fb Mon Sep 17 00:00:00 2001 From: yoshihirokurosaki <77531587+irishkooky@users.noreply.github.com> Date: Wed, 14 Feb 2024 19:04:28 +0900 Subject: [PATCH] docs: add import statement for mountSuspended (#25783) --- docs/1.getting-started/11.testing.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/1.getting-started/11.testing.md b/docs/1.getting-started/11.testing.md index 0cdf1d8b82..a8c909fb24 100644 --- a/docs/1.getting-started/11.testing.md +++ b/docs/1.getting-started/11.testing.md @@ -155,6 +155,8 @@ export default defineVitestConfig({ ```ts // tests/components/SomeComponents.nuxt.spec.ts +import { mountSuspended } from '@nuxt/test-utils/runtime' + it('can mount some component', async () => { const component = await mountSuspended(SomeComponent) expect(component.text()).toMatchInlineSnapshot(