Open drathier opened 4 months ago
I bet https://stackoverflow.com/a/33121880/596041 would be enough
I think it makes sense to not add the tests/
dir if it’s already in source-directories!
(Not sure about de-duplicating, though, I think it would make the most sense if elm-test
and elm make
gave the same error, instead of elm-test working while plain elm does not.)
I'd really like to deduplicate the test folders when they're exact matches; I have a project where I want to add the tests folder as an app src dir.
https://github.com/rtfeldman/node-test-runner/blob/3c18757ad8c4cd7a6b33459588fba14aa41b6b1d/lib/Project.js#L44
I'm getting this error if I add the tests folder to src-dirs: