mochapack icon indicating copy to clipboard operation
mochapack copied to clipboard

--timeout ignored in mochapack.opts

Open Spacexplosion opened this issue 3 years ago • 4 comments

Appending --timeout to the CLI args changes default timeout behavior, but putting the same argument in the mochapack.opts file does not.

Versions: "mocha": "^7.2.0", "mochapack": "^2.1.2", "webpack": "^5.38.1",

Spacexplosion avatar Jun 03 '21 00:06 Spacexplosion

Actually, it seems everything in mochapack.opts is ignored. Specifying --opts mochapack.opts doesn't help

Spacexplosion avatar Jun 23 '21 21:06 Spacexplosion

This still seems to be an issue. Is it on the radar?

AnthonyElcocks avatar Nov 09 '21 17:11 AnthonyElcocks

~~It seems there are recent changes that breaks around CLI options parser.~~ Sorry. I stupidly mistaked usage. There is no problem around the CLI option parser itself.

kaorukobo avatar Nov 10 '21 07:11 kaorukobo

Actually, it seems everything in mochapack.opts is ignored. Specifying --opts mochapack.opts doesn't help

Yes correct, more information is on this bug: https://github.com/sysgears/mochapack/issues/73. I wish that mochapack team would utilize the .mocharc.js file or any other alternative. For now I added all my options on my command.

jcjp avatar Mar 04 '22 05:03 jcjp