Closed piotrwitek closed 7 years ago
Figured out nice mocha setup for TypeScript:
require('dotenv').config(); require('ts-node').register({ project: './src/', // fast: true, // ignore: false, });
"test": "mocha -r './scripts/test' **/*.spec.ts",
my solution ready: https://github.com/piotrwitek/ts-mocha, just set it up with some example tests to show off
mirgating to jest: #34
merged
Figured out nice mocha setup for TypeScript: