Ability to set log level in .percy.json #612
Unanswered
tmcconechy
asked this question in
Ideas
Replies: 1 comment 3 replies
-
Hey @tmcconechy! You can use something like What SDK are you using? It should ideally only log once and disable itself. Could be the way the test suite is bundled -- if each test is its own bundle then the SDK wouldn't be able to cache & disable itself. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The problem
We generally only run percy on ci and when we run tests locally we get a lot of log errors. like..
The solution we have it to set the PERCY_LOGLEVEL on the command line.
PERCY_LOGLEVEL=silent npx jest --coverage
The problem is this isnt cross platform so we need
set PERCY_LOGLEVEL=silent
on windows.I tried to set this on .percy.json but either i dont know how or it doesnt work. Is there already a way to set this by config file? If not would it be worth adding?
Environment
@percy/cli
version: 1.0.0-beta.70Code to reproduce issue
PERCY_LOGLEVEL=silent npx jest --coverage
on windows command lineBeta Was this translation helpful? Give feedback.
All reactions