Skip to content

Commit 018fa3a

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 1762dfe commit 018fa3a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/hono-e2e.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ describe("Hono + Honolate E2E", () => {
4747
});
4848
describe("Lazy translation term", () => {
4949
it("GET /lazy should return localized lazy term", async () => {
50-
const resDefault = await (await testApp.lazy.$get({})).text();
50+
const defaultResp = await testApp.lazy.$get({});
51+
const resDefault = await defaultResp.text();
5152
const resEn = await (await testApp.lazy.$get({
5253
query: { lang: "en" },
5354
})).text();

0 commit comments

Comments
 (0)