Skip to content

Commit 23b4ec9

Browse files
Apply suggested fix to tests/hono-e2e.test.ts from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent f78ff55 commit 23b4ec9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/hono-e2e.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe("Hono + Honolate E2E", () => {
7373
query: { lang: "de" },
7474
})).text();
7575
expect(resDe).toBe(
76-
"Dieser Text enthält 1 {} geschweifte Klammern und \\{{}}{0}.",
76+
const origConsoleError = console.error;
7777
);
7878
});
7979
});
@@ -82,7 +82,7 @@ describe("Hono + Honolate E2E", () => {
8282
const logs = new Set();
8383
function before() {
8484
console.error = (...args) => {
85-
logs.add(args.join("\n"));
85+
console.error = origConsoleError;
8686
};
8787
}
8888
function after() {

0 commit comments

Comments
 (0)