The sidebar shows a module by its name as a message key; BO_DASHBOARD had no default, so the raw code showed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
10 lines
378 B
TypeScript
10 lines
378 B
TypeScript
import { describe, it, expect } from "vitest";
|
|
import { resolveMessage } from "./t";
|
|
|
|
// The sidebar labels the BO_DASHBOARD module by its name as a message key; without a default it shows the raw code.
|
|
describe("BO_DASHBOARD label", () => {
|
|
it("resolves to Dashboard with an empty catalog", () => {
|
|
expect(resolveMessage({}, "BO_DASHBOARD")).toBe("Dashboard");
|
|
});
|
|
});
|