From 3eed5cb193ca1b57c96215295281047cd5aca72f Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Fri, 17 Dec 2021 09:30:36 +0000 Subject: [PATCH] fix(nuxt3): ignore tests within components directory (#2347) --- packages/nuxt3/src/components/module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nuxt3/src/components/module.ts b/packages/nuxt3/src/components/module.ts index 467dcaa669..d7d7467ad0 100644 --- a/packages/nuxt3/src/components/module.ts +++ b/packages/nuxt3/src/components/module.ts @@ -47,6 +47,7 @@ export default defineNuxtModule({ ignore: [ '**/*.stories.{js,ts,jsx,tsx}', // ignore storybook files '**/*{M,.m,-m}ixin.{js,ts,jsx,tsx}', // ignore mixins + '**/*.{spec,test}.{js,ts,jsx,tsx}', // ignore tests '**/*.d.ts', // .d.ts files // TODO: support nuxt ignore patterns ...(dirOptions.ignore || [])