You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, deps are installed only when the file ends with .spec.js and .test.js. Some developers like to follow a different convention which includes a single test.js file or a /test directory where all the files are executed when tests are executed.
Would you be open to changing the heuristic currently used to determine if a file is a test file to include such conventions?
The text was updated successfully, but these errors were encountered:
Adding that ability in the package.json is a good idea as an override, but as for sensible defaults, why not make a breaking change that operates on files which match **/test/** and **/test.js? I say good defaults beat customization anyday. That way people don't need to setup anything on their own unless they want more advanced filetype triggers.
Currently, deps are installed only when the file ends with
.spec.js
and.test.js
. Some developers like to follow a different convention which includes a singletest.js
file or a/test
directory where all the files are executed when tests are executed.Would you be open to changing the heuristic currently used to determine if a file is a test file to include such conventions?
The text was updated successfully, but these errors were encountered: