I am trying to have the base case running and fail at it.
Using this command line : ts-mocha --paths -p src/server/tsconfig.mocha.json src/server/**/*.test.ts
Using the tsconfig c/p-ed from here (extending it manually, so without "extends": "../tsconfig.base.json")
Without any mocha.conf, .mocharc.js nor entry in package.json
Once using the --paths option, I end up with this error message:
Option '-r' not supported. Trigger '[...]\node_modules\mocha\bin\mocha -h' for more details
EDIT: Afterward, I managed to have this error with mocha -r ts-node/register, so it's not ts-mocha-related. I let it opened in case somebody has an idea though
I am trying to have the base case running and fail at it.
Using this command line :
ts-mocha --paths -p src/server/tsconfig.mocha.json src/server/**/*.test.ts
Using the tsconfig c/p-ed from here (extending it manually, so without
"extends": "../tsconfig.base.json"
)Without any
mocha.conf
,.mocharc.js
nor entry inpackage.json
Once using the
--paths
option, I end up with this error message:EDIT: Afterward, I managed to have this error with
mocha -r ts-node/register
, so it's notts-mocha
-related. I let it opened in case somebody has an idea though