Closed lennym closed 1 year ago
If a message is contained within a console.group or console.groupCollapsed call then track this context and provide to implementations of silenceMessage.
console.group
console.groupCollapsed
silenceMessage
Because groups can be recursively nested, track both the parent group and the full group stack.
One test is failing though.
I forgot to add the files! 🤦
Should be ok now.
Thanks for this contribution. I'll publish the new version as soon as I'm on the computer.
Fantastic! Thank you so much for your help.
Published as https://github.com/ValentinH/jest-fail-on-console/releases/tag/v3.1.0
If a message is contained within a
console.group
orconsole.groupCollapsed
call then track this context and provide to implementations ofsilenceMessage
.Because groups can be recursively nested, track both the parent group and the full group stack.