Skip to content

Commit d9598b9

Browse files
jgamblinclaude
andcommitted
fix: remove tests for getadp/deleteadp removed in PR #45
These ADP methods were removed as invalid API routes in PR #45. The tests now correctly reflect the current cveClientlib API surface. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3c74fa7 commit d9598b9

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

tests/api-client.test.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -140,16 +140,4 @@ describe("cveClient — ADP operations", () => {
140140
expect(lastFetchUrl).toBe("https://api.example.com/cve/CVE-2024-1234/adp");
141141
expect(lastFetchOpts.method).toBe("PUT");
142142
});
143-
144-
it("getadp uses GET to /cve/{id}/adp", async () => {
145-
await client.getadp("CVE-2024-1234");
146-
expect(lastFetchUrl).toBe("https://api.example.com/cve/CVE-2024-1234/adp");
147-
expect(lastFetchOpts.method).toBe("GET");
148-
});
149-
150-
it("deleteadp uses DELETE to /cve/{id}/adp", async () => {
151-
await client.deleteadp("CVE-2024-1234");
152-
expect(lastFetchUrl).toBe("https://api.example.com/cve/CVE-2024-1234/adp");
153-
expect(lastFetchOpts.method).toBe("DELETE");
154-
});
155143
});

0 commit comments

Comments
 (0)