fix(nuxt3): ignore tests within components directory (#2347)

This commit is contained in:
Daniel Roe 2021-12-17 09:30:36 +00:00 committed by GitHub
parent 737f1bf80c
commit 3eed5cb193
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,6 +47,7 @@ export default defineNuxtModule<ComponentsOptions>({
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 || [])