feat(web): mutation hooks + InUseError + i18n for reference-data edit/delete

This commit is contained in:
2026-06-05 20:06:23 +02:00
parent 78c950d2ee
commit 282e6430d4
4 changed files with 177 additions and 2 deletions
+11
View File
@@ -0,0 +1,11 @@
import { describe, it, expect } from "vitest";
import { InUseError } from "./queries";
describe("InUseError", () => {
it("carries the count", () => {
const e = new InUseError(7);
expect(e.count).toBe(7);
expect(e).toBeInstanceOf(Error);
});
});