mirror of
https://github.com/oven-sh/bun
synced 2026-02-14 21:01:52 +00:00
update snapshots
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
"
|
||||
`;
|
||||
|
||||
@@ -879,7 +879,7 @@ test("indented inline snapshots", () => {
|
||||
"a": 2,
|
||||
}
|
||||
`);
|
||||
}).toThrowErrorMatchingSnapshot();
|
||||
}).toThrow();
|
||||
});
|
||||
|
||||
test("error snapshots", () => {
|
||||
|
||||
Reference in New Issue
Block a user