feat(pets): register module navigation

This commit is contained in:
ginnoir
2026-07-10 02:57:45 -05:00
parent 7704924d88
commit 86444bc850
5 changed files with 95 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import assert from "node:assert/strict";
import test from "node:test";
import petsManifest from "../../src/modules/pets/manifest";
test("pets manifest contributes visible navigation and a quick add action", () => {
assert.deepEqual(petsManifest.nav, { href: "/pets", label: "Pets", icon: "paw-print" });
assert.equal(petsManifest.quickAdds?.[0]?.createKey, "pets.pet");
});