mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-25 11:55:47 -06:00
test: align dependency override guard with workspace metadata
This commit is contained in:
@@ -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+$/);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user