Write tests for TypeScript projects with mocha and chai — in TypeScript!
Sudarsan Balaji
12310

Thanks for the great tutorial! 
ts-node was giving me this error: 
TSError: ⨯ Unable to compile TypeScript 
Cannot find name ‘describe’. (2304)

Solved it by adding “types”: [ “mocha”, “chai” ] to the compilerOptions of tsconfig.json

A single golf clap? Or a long standing ovation?

By clapping more or less, you can signal to us which stories really stand out.