feat(pets): register module navigation
This commit is contained in:
@@ -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");
|
||||
});
|
||||
Reference in New Issue
Block a user