I'm trying to run a unit test with Mocha
using the below command in Windows
.
mocha --require ts-node/register test.spec.ts
and getting the following error
error TS1219: Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option to remove this warning.
This is despite having the following in my tsconfig.json
file.
"experimentalDecorators": true,
Can anyone advise how I reference the tsconfig.json
file?