-
Notifications
You must be signed in to change notification settings - Fork 173
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: It doesn't recognise the project #10
Comments
The issue is you are relying on the default test regex pattern and your configuration does not have a test regex pattern or a test match pattern. I completely overlooked the defaults of these patterns so that's why it doesn's show up. I'll have a release ready with this fix in a couple of days. But if you need to try the app, just add the following to the jest config. "jest": {
"testMatch": [ '**/__tests__/**/*.js?(x)', '**/?(*.)(spec|test).js?(x)' ]
// other configs
} let me know if you managed to get it to work after this workaround. |
@Raathigesh yep that solved the problem, the tests are recognized, there are some other bugs but I guess are not related and you will solve them in feature releases. Thx a lot, great project! |
Feel free to open issues for other issues. Happy to address them. |
Sure, thx a lot |
I believe it would be helpful to be slightly more verbose in the documentation on what is required from the jest.config file - as it's possible to run basic Jest suites without needing a config object. Something along the lines of this would be great. Majestic requires the following Jest config object/file at minimum in order to recognise your test suite.
|
Majestic should work with the config Jest works with. This is a bug of majestic and its fixed in the master. Should be available with the next release. |
This fix is released in https://github.com/Raathigesh/majestic/releases/tag/v0.2.0 |
Is this a bug report or a feature request?
馃悰.
Version Info
This is my configuration on package.json
No files are shown up in the sidebar, when I press the run test, nothing happens. No error displayed either though.
The text was updated successfully, but these errors were encountered: