chore: fix flaky tests (#8259)

This commit is contained in:
Sébastien Lorber 2022-10-28 11:46:54 +02:00 committed by GitHub
parent 5baa56b4bf
commit 9f4d2e7136
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View file

@ -60,6 +60,9 @@ function stringify(msg: unknown): string {
if (String(msg) === '[object Object]') {
return JSON.stringify(msg);
}
if (msg instanceof Date) {
return msg.toUTCString();
}
return String(msg);
}