test: align dependency override guard with workspace metadata

This commit is contained in:
Vincent Koc
2026-06-04 04:07:10 +02:00
parent 076178adc6
commit 474be452a7

View File

@@ -90,10 +90,8 @@ describe("dependency denylist guardrails", () => {
]);
});
it("pins the axios override to an exact version", () => {
const manifest = readRootManifest();
it("pins the active axios override to an exact version", () => {
const pnpmWorkspace = readPnpmWorkspaceConfig();
expect(manifest.overrides?.axios).toMatch(/^\d+\.\d+\.\d+$/);
expect(pnpmWorkspace.overrides?.axios).toMatch(/^\d+\.\d+\.\d+$/);
});