Closed wiktor-obrebski closed 2 years ago
Thanks, this is working as expected! However we need to add the following block that's missing:
https://github.com/pinojs/pino/blob/f8696ab5fb0e5a819b6255af420b29fb075cbdee/lib/tools.js#L335-L373
hello, I am also facing this issue and I can't get the workaround to work; where exactly do you specify sync: true
?
https://github.com/pinojs/pino-pretty#usage-with-jest
u need to have version 7.5.1
of pino-pretty
for this work (with TS)
In this example the fatal log never appear:
It's clearly
pino-pretty
issue, as it does not happen with raw pino.sync: true,
is workaround.