update snapshots

This commit is contained in:
pfg
2025-07-29 20:26:53 -07:00
parent 8e28e14da2
commit dfce9da151
3 changed files with 3 additions and 22 deletions

View File

@@ -895,7 +895,7 @@ test("color", async () => {
\x1B[33m@@ -1,7 +1,7 @@\x1B[0m
\x1B[0m\x1B[2mInt32Array [\x1B[0m
\x1B[32m- \x1B[0m\x1B[32m\x1B[7m 0,\x1B[0m
\x1B[32m- \x1B[0m\x1B[32m 0,\x1B[0m
\x1B[0m\x1B[2m 1,\x1B[0m
\x1B[0m\x1B[2m 2,\x1B[0m
\x1B[0m\x1B[2m 3,\x1B[0m
@@ -907,7 +907,7 @@ test("color", async () => {
\x1B[0m\x1B[2m 99997,\x1B[0m
\x1B[0m\x1B[2m 99998,\x1B[0m
\x1B[0m\x1B[2m 99999,\x1B[0m
\x1B[31m+ \x1B[0m\x1B[31m\x1B[7m 100000,\x1B[0m
\x1B[31m+ \x1B[0m\x1B[31m 100000,\x1B[0m
\x1B[0m\x1B[2m]\x1B[0m
\x1B[32m- Expected - 1\x1B[0m

View File

@@ -607,22 +607,3 @@ exports[`snapshot numbering 4`] = `"snap"`;
exports[`snapshot numbering 6`] = `"hello"`;
exports[`snapshot numbering: hinted 1`] = `"hello"`;
exports[`indented inline snapshots 4`] = `
"\x1B[2mexpect(\x1B[0m\x1B[31mreceived\x1B[0m\x1B[2m).\x1B[0mtoMatchInlineSnapshot\x1B[2m(\x1B[0m\x1B[32mexpected\x1B[0m\x1B[2m)\x1B[0m
\x1B[0m\x1B[2m\x1B[0m
\x1B[32m- \x1B[0m\x1B[32m\x1B[7m {\x1B[0m
\x1B[32m- \x1B[0m\x1B[32m\x1B[7m "a": 2,\x1B[0m
\x1B[32m- \x1B[0m\x1B[32m\x1B[7m \x1B[0m\x1B[32m}\x1B[0m
\x1B[32m- \x1B[0m\x1B[32m\x1B[0m
\x1B[31m+ \x1B[0m\x1B[31m\x1B[7m{\x1B[0m
\x1B[31m+ \x1B[0m\x1B[31m\x1B[7m "a": 2,\x1B[0m
\x1B[31m+ \x1B[0m\x1B[31m\x1B[7m\x1B[0m\x1B[31m}\x1B[0m
\x1B[31m+ \x1B[0m\x1B[31m\x1B[0m
\x1B[32m- Expected - 4\x1B[0m
\x1B[31m+ Received + 4\x1B[0m
"
`;

View File

@@ -879,7 +879,7 @@ test("indented inline snapshots", () => {
"a": 2,
}
`);
}).toThrowErrorMatchingSnapshot();
}).toThrow();
});
test("error snapshots", () => {