fix: wire catalog add buttons, fix Trans bold rendering, lint cleanup
- CatalogSearchOverlay: replace handleAddStub with real openAddToCollection/openAddToThread routing based on catalogSearchMode - ConfirmDialog + __root.tsx: swap t() for Trans component on deleteItemMessage, deleteCandidateMessage, pickWinnerMessage — fixes <bold> rendering as literal text - Biome format pass: fix 23 lint/format errors across scripts, services, tests - Planning: mark all UAT and verification gaps resolved for phases 07, 11, 16, 20, 21, 22, 24, 32, 34; close debug sessions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -63,8 +63,16 @@ describe("getManufacturerBySlug", () => {
|
||||
|
||||
describe("listManufacturers", () => {
|
||||
it("returns all manufacturers ordered by name", async () => {
|
||||
await createManufacturer(db, { name: "Ortlieb", slug: "ortlieb", website: "https://ortlieb.com" });
|
||||
await createManufacturer(db, { name: "Apidura", slug: "apidura", website: "https://apidura.com" });
|
||||
await createManufacturer(db, {
|
||||
name: "Ortlieb",
|
||||
slug: "ortlieb",
|
||||
website: "https://ortlieb.com",
|
||||
});
|
||||
await createManufacturer(db, {
|
||||
name: "Apidura",
|
||||
slug: "apidura",
|
||||
website: "https://apidura.com",
|
||||
});
|
||||
const result = await listManufacturers(db);
|
||||
expect(result[0]?.name).toBe("Apidura");
|
||||
expect(result[1]?.name).toBe("Ortlieb");
|
||||
|
||||
Reference in New Issue
Block a user