DEV Community

Discussion on: Mocha/Chai with TypeScript

Collapse
 
belingheri profile image
Belingheri • Edited

Yes, but i had to add &&.
set TS_NODE_COMPILER_OPTIONS={\"module\": \"commonjs\" } && mocha -r ts-node/register 'tests/**/*.ts'

Thread Thread
 
brainafesoh profile image
brainafesoh

Damn windows, I just wasted the last 24hrs just because of this๐Ÿ˜ฉ!
Thanks a lot.