chore: do not print prototype in jest snapshot (#6908)

This commit is contained in:
Joshua Chen 2022-03-13 19:34:50 +08:00 committed by GitHub
parent 3a4b9b4c30
commit 8c1e518ba2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 1536 additions and 1519 deletions

View file

@ -1,68 +1,68 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`error prints objects 1`] = `
Array [
Array [
[
[
"[ERROR] {\\"a\\":1}",
],
Array [
[
"[ERROR] undefined",
],
Array [
[
"[ERROR] 1,2,3",
],
Array [
[
"[ERROR] Sat Nov 13 2021 00:00:00 GMT+0000 (Coordinated Universal Time)",
],
]
`;
exports[`info prints objects 1`] = `
Array [
Array [
[
[
"[INFO] {\\"a\\":1}",
],
Array [
[
"[INFO] undefined",
],
Array [
[
"[INFO] 1,2,3",
],
Array [
[
"[INFO] Sat Nov 13 2021 00:00:00 GMT+0000 (Coordinated Universal Time)",
],
]
`;
exports[`success prints objects 1`] = `
Array [
Array [
[
[
"[SUCCESS] {\\"a\\":1}",
],
Array [
[
"[SUCCESS] undefined",
],
Array [
[
"[SUCCESS] 1,2,3",
],
Array [
[
"[SUCCESS] Sat Nov 13 2021 00:00:00 GMT+0000 (Coordinated Universal Time)",
],
]
`;
exports[`warn prints objects 1`] = `
Array [
Array [
[
[
"[WARNING] {\\"a\\":1}",
],
Array [
[
"[WARNING] undefined",
],
Array [
[
"[WARNING] 1,2,3",
],
Array [
[
"[WARNING] Sat Nov 13 2021 00:00:00 GMT+0000 (Coordinated Universal Time)",
],
]