FullstackAcademy / boilermaker

Code scaffold for projects
https://www.youtube.com/watch?v=7bLSuTHH4Ag&list=PLx0iOsdUOUmn7D5XL4mRUftn8hvAJGs8H
MIT License
215 stars 706 forks source link

update mocha runner to use globs at node level #98

Closed collin closed 6 years ago

collin commented 6 years ago

When the file path arguments to mocha are not wrapped in strings, the operating system expats them into file matches.

If we wrap the arguments in ' quotes, they are passed into mocha and mocha uses a file glob module.

This way we need fewer matches to hit all the test files.

collin commented 6 years ago

@glebec Like so?