feat: add internationalization message platform

This commit is contained in:
donghyeon-ka
2026-07-26 16:17:39 +09:00
parent b8c0444217
commit 668bf05b48
57 changed files with 1711 additions and 201 deletions
@@ -55,7 +55,7 @@ function inputWith(
value: {
resourceId: "created",
title: name,
createdAtLabel: null,
createdAt: null,
},
}),
getResource: async (resourceId) => ({
@@ -63,7 +63,7 @@ function inputWith(
value: {
resourceId,
title: "Detail",
createdAtLabel: null,
createdAt: null,
},
}),
...overrides,
@@ -90,7 +90,7 @@ describe("reference feature page states", () => {
{
resourceId: "reference-1",
title: "Loaded",
createdAtLabel: null,
createdAt: null,
},
],
});
@@ -191,7 +191,7 @@ describe("reference feature page states", () => {
{
resourceId: "existing",
title: "Existing",
createdAtLabel: null,
createdAt: null,
},
],
})
@@ -209,7 +209,7 @@ describe("reference feature page states", () => {
{
resourceId: "recovered",
title: "Recovered",
createdAtLabel: null,
createdAt: null,
},
],
});
@@ -217,7 +217,9 @@ describe("reference feature page states", () => {
await screen.findByText("Existing");
await user.click(screen.getByRole("button", { name: "새로고침" }));
expect(await screen.findByText("stale-degraded")).toBeVisible();
expect(
await screen.findByText("기존 정보를 표시하고 있습니다."),
).toBeVisible();
expect(screen.getByText("Existing")).toBeVisible();
await user.click(screen.getByRole("button", { name: "다시 시도" }));
expect(await screen.findByText("Recovered")).toBeVisible();