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:
Dmitry Molotkov 2018-07-21 19:33:41 +03:00 committed by Clark Du
parent 8c85edd08b
commit 87f1f312be

View File

@ -23,7 +23,8 @@ export default {
// Ignore // Ignore
ignorePrefix: '-', ignorePrefix: '-',
ignore: [ ignore: [
'**/*.test.*' '**/*.test.*',
'**/*.spec.*'
], ],
extensions: [], extensions: [],