mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Fix comments
This commit is contained in:
parent
3cfe00e535
commit
87606def48
1 changed files with 1 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ test("createPipPackageManager", async (t) => {
|
|||
|
||||
await t.test("should support install, download, and wheel commands", () => {
|
||||
const pm = createPipPackageManager();
|
||||
// With MITM-only approach, pip does not pre-scan by args
|
||||
// MITM-only approach, pip does not scan args
|
||||
assert.strictEqual(pm.isSupportedCommand(["install", "requests"]), false);
|
||||
assert.strictEqual(pm.isSupportedCommand(["download", "requests"]), false);
|
||||
assert.strictEqual(pm.isSupportedCommand(["wheel", "requests"]), false);
|
||||
|
|
@ -35,7 +35,6 @@ test("createPipPackageManager", async (t) => {
|
|||
|
||||
await t.test("should extract packages from install command", () => {
|
||||
const pm = createPipPackageManager();
|
||||
// MITM-only: no dependency extraction from args
|
||||
const result = pm.getDependencyUpdatesForCommand(["install", "requests==2.28.0"]);
|
||||
assert.ok(Array.isArray(result));
|
||||
assert.strictEqual(result.length, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue