Hi,
I added the module as explained and used the correct version as advised. Still, I get an error when starting.
mocha-suppress-logs@0.2.0mocha@7.2
$ mocha --config ./.mocharc.yml 'test/integration/tasks/create.spec.ts'
(node:4348) DeprecationWarning: Configuration via mocha.opts is DEPRECATED and will be removed from a future version of Mocha. Use RC files or package.json instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
/app/node_modules/mocha/node_modules/yargs/lib/usage.js:240
.concat(Object.keys(yargs.parsed.newAliases) || [])
^
TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at Object.help (/app/node_modules/mocha/node_modules/yargs/lib/usage.js:240:22)
at Object.self.showHelp (/app/node_modules/mocha/node_modules/yargs/lib/usage.js:432:15)
at Array.<anonymous> (/app/node_modules/mocha/lib/cli/cli.js:53:13)
at Object.fail (/app/node_modules/mocha/node_modules/yargs/lib/usage.js:41:17)
at /app/node_modules/mocha/node_modules/yargs/lib/command.js:246:36
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Hi, I added the module as explained and used the correct version as advised. Still, I get an error when starting.
mocha-suppress-logs@0.2.0 mocha@7.2
Thanks in advance! Thomas