-
Notifications
You must be signed in to change notification settings - Fork 276
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
Running jest without --verbose #886
Comments
I don't remember any, I'd say go for it. |
Hi @tupaschoal @araujoarthur0! I made the necessary changes in the linked PR but I am not being able to run the setup locally due to possible mismatch in my installed So for a sanity check I would request one of you to see whether the intended changes work and solve the issue, else it is good to go since this is a non-breaking change. |
Hi @pallasite99 what kind of issue are you having? |
@araujoarthur0 It was a temporary issue with Run `npm audit` for details.
PS C:\Users\Dell\OneDrive\Documents\GitHub\time-to-leave> npm run test:jest
> [email protected] test:jest
> jest --runInBand --detectOpenHandles --colors --transformIgnorePatterns 'node_modules/(?!astronomia)/' --
PASS MAIN __tests__/__main__/menus.js
● Console
console.log
{ response: 1 } This is the final result which is as expected since this is a non-breaking change:
|
Great, @pallasite99 ! |
Could you also paste this test in the PR? |
@araujoarthur0 Actually I didn't make any changes to the unit tests in the PR so this console was already present in the codebase 😀 Let me check if I can find the test after getting back to my desk in a while. Edit: Linked the findings to the PR in a comment |
Apparently when running a single test file (like |
Hi @araujoarthur0 sorry I came down with fever during the weekend. This PR implements the final changes you requested: Please review when possible, thanks! (node:5964) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See https://github.com/electron/electron/issues/23506 for more information
PASS MAIN __tests__/__main__/menus.js
● Console
console.log
{ response: 1 }
at js/menus.js:365:29 (node:3125) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See https://github.com/electron/electron/issues/23506 for more information
PASS RENDERER __tests__/__renderer__/classes/BaseCalendar.js
● Console
console.log
undefined
at js/classes/BaseCalendar.js:89:25 |
Hope you're feeling better now @pallasite99 ! Thanks for submitting the PR, will take a look. |
I just found out we always run jest with --verbose, which seems to eat up any console.log() that we might add while trying to debug tests (that took me almost an hour).
Do we have a strong reason for that? I took it out and didn't see much difference in the common logs.
The text was updated successfully, but these errors were encountered: