test: fix CI type regressions

This commit is contained in:
Peter Steinberger
2026-03-13 19:53:34 +00:00
parent d17490ff54
commit 60d308cff0
18 changed files with 138 additions and 57 deletions

View File

@@ -28,14 +28,7 @@ export function expectSingleNpmInstallIgnoreScriptsCall(params: {
throw new Error("expected npm install call");
}
const [argv, opts] = first;
expect(argv).toEqual([
"npm",
"install",
"--omit=dev",
"--omit=peer",
"--silent",
"--ignore-scripts",
]);
expect(argv).toEqual(["npm", "install", "--omit=dev", "--silent", "--ignore-scripts"]);
expect(opts?.cwd).toBeTruthy();
const cwd = String(opts?.cwd);
const expectedTargetDir = params.expectedTargetDir;