mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
fix(nuxt3): ignore tests within components directory (#2347)
This commit is contained in:
parent
737f1bf80c
commit
3eed5cb193
@ -47,6 +47,7 @@ export default defineNuxtModule<ComponentsOptions>({
|
|||||||
ignore: [
|
ignore: [
|
||||||
'**/*.stories.{js,ts,jsx,tsx}', // ignore storybook files
|
'**/*.stories.{js,ts,jsx,tsx}', // ignore storybook files
|
||||||
'**/*{M,.m,-m}ixin.{js,ts,jsx,tsx}', // ignore mixins
|
'**/*{M,.m,-m}ixin.{js,ts,jsx,tsx}', // ignore mixins
|
||||||
|
'**/*.{spec,test}.{js,ts,jsx,tsx}', // ignore tests
|
||||||
'**/*.d.ts', // .d.ts files
|
'**/*.d.ts', // .d.ts files
|
||||||
// TODO: support nuxt ignore patterns
|
// TODO: support nuxt ignore patterns
|
||||||
...(dirOptions.ignore || [])
|
...(dirOptions.ignore || [])
|
||||||
|
Loading…
Reference in New Issue
Block a user