drakov icon indicating copy to clipboard operation
drakov copied to clipboard

stealthmode does not disable all output

Open lucasmazza opened this issue 6 years ago • 1 comments

We use drakov inside our jest/react integration tests and we noticed that the stealthmode setting does not disable all console.log output. we still get 5+ console.log calls: 1, 2, 3, 4 and 5. Should the stealthmode option also suppress this output or there would be another way to silence these logs? This would help to lot to control the noise on our test output.

lucasmazza avatar Apr 02 '18 17:04 lucasmazza

I think stealth mode can atleast log the started event https://github.com/Aconex/drakov/blob/master/lib/drakov.js#L17. It can be useful to determine if drakov has started. The rest can be silenced.

aj-jaswanth avatar Jun 06 '18 09:06 aj-jaswanth