Hi! I want to test a project with mocha but, i hav...
# aws
a
Hi! I want to test a project with mocha but, i have this error  
ERROR: Error: Cannot find module 'ts-node/register'
Require stack:
this happens when i run the next command
Copy code
mocha -r ts-node/register ec2tests.ts
b
We should add this step
Copy code
npm install ts-node -g
that will ensure ts-node is avalable as part of your tests