pinojs / pino-pretty

🌲Basic prettifier for Pino log lines
MIT License
1.27k stars 150 forks source link

Make tests more robust #356

Open simoneb opened 2 years ago

simoneb commented 2 years ago

We should change all tests asserting against t.equal(string.indexOf >= 0, true) to use t.match in order to get a clearer assertion failure.

mcollina commented 2 years ago

I fixed some of the problems in in #354