| 602 | 602 | | |
| 603 | 603 | | test("a CI job installs only what its units need", () => { |
| 604 | 604 | | const npm = npmWorkspace(); |
| 605 | | − | assert.deepEqual(npmCiArgs([unit("events"), unit("repos")], npm), ["ci", "--no-audit", "--no-fund", "--workspaces=false"]); |
| 605 | + | assert.deepEqual(npmCiArgs([unit("events"), unit("repos")], npm), ["ci", "--prefer-offline", "--no-audit", "--no-fund", "--workspaces=false"]); |
| 606 | 606 | | assert.deepEqual(npmCiArgs([unit("events"), unit("status")], npm), [ |
| 607 | | − | "ci", "--no-audit", "--no-fund", "--include-workspace-root", |
| 607 | + | "ci", "--prefer-offline", "--no-audit", "--no-fund", "--include-workspace-root", |
| 608 | 608 | | "-w", "@g1t/contracts", "-w", "@g1t/status", "-w", "@g1t/theme", |
| 609 | 609 | | ]); |
| 610 | 610 | | }); |