mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
ignore *.spec.* test files (#3528)
Add ignore for *.spec.* files in addition to *.test.* PS the error that can happen when try to run dev without ignore and with spec js is totally confusing and gives zero lead on what happens. https://gist.github.com/aldarund/8542b2e477956827d9195d0f6d173a3b Only during build there was a error printed with a proper stacktrace that was lead to my test file
This commit is contained in:
parent
8c85edd08b
commit
87f1f312be
@ -23,7 +23,8 @@ export default {
|
|||||||
// Ignore
|
// Ignore
|
||||||
ignorePrefix: '-',
|
ignorePrefix: '-',
|
||||||
ignore: [
|
ignore: [
|
||||||
'**/*.test.*'
|
'**/*.test.*',
|
||||||
|
'**/*.spec.*'
|
||||||
],
|
],
|
||||||
|
|
||||||
extensions: [],
|
extensions: [],
|
||||||
|
Loading…
Reference in New Issue
Block a user