MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / createMetadataHost

Function createMetadataHost

tests/unit/ui/taskCardMetadata.test.ts:55–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55function createMetadataHost() {
56 const card = document.createElement("div");
57 card.className = "task-card";
58 const metadataLine = document.createElement("div");
59 metadataLine.className = "task-card__metadata";
60 card.appendChild(metadataLine);
61 document.body.appendChild(card);
62 return { card, metadataLine };
63}
64
65describe("taskCardMetadata", () => {
66 beforeEach(() => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected