piotrwitek / ts-mocha

Mocha thin wrapper that allows running TypeScript tests with TypeScript runtime (ts-node) to get rid of compilation complexity
MIT License
190 stars 25 forks source link

Use ts-mocha with mocha-parallel-tests #41

Closed tuliren closed 5 years ago

tuliren commented 5 years ago

Is there a way to use mocha-parallel-tests under the hood instead of plain mocha when running ts-mocha?

(I have searched in issues and pull requests here, and briefly Googled it, and could not find any answer.)

Thanks.

piotrwitek commented 5 years ago

Hey, It seems to me it's a separate package that is using mocha internally so I don't see any simple way to support it other than extending mocha-parallel-tests to accept custom mocha binary through a configuration option.

tuliren commented 5 years ago

Got it, makes sense. I will try that. Thank you.