MCPcopy Create free account
hub / github.com/driangle/taskmd / issueFor

Function issueFor

apps/vscode/test/validate.test.ts:11–13  ·  view source on GitHub ↗
(issues: ValidationIssue[], field: string)

Source from the content-addressed store, hash-verified

9}
10
11function issueFor(issues: ValidationIssue[], field: string): ValidationIssue | undefined {
12 return issues.find((i) => i.field === field);
13}
14
15describe("validate: required fields", () => {
16 it("reports error when id is missing", () => {

Callers 1

validate.test.tsFile · 0.85

Calls 1

findMethod · 0.80

Tested by

no test coverage detected