Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--timeout ignored in mochapack.opts #104

Open
Spacexplosion opened this issue Jun 3, 2021 · 4 comments
Open

--timeout ignored in mochapack.opts #104

Spacexplosion opened this issue Jun 3, 2021 · 4 comments

Comments

@Spacexplosion
Copy link

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
Copy link
Author

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

@AnthonyElcocks
Copy link

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

@kaorukobo
Copy link

kaorukobo commented Nov 10, 2021

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.

@jcjp
Copy link

jcjp commented Mar 4, 2022

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

Yes correct, more information is on this bug: #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants