mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-26 16:06:16 +00:00
test: fix CI type regressions
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user