Aconex / drakov

Mock Server that implements the API Blueprint specification
MIT License
481 stars 115 forks source link

stealthmode does not disable all output #179

Open lucasmazza opened 6 years ago

lucasmazza commented 6 years ago

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.

aj-jaswanth commented 6 years ago

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.