Skip to content

Commit

Permalink
Verbosity testing
Browse files Browse the repository at this point in the history
  • Loading branch information
iainrussell authored Nov 9, 2024
1 parent c996c35 commit e6f2443
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/build-package.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ describe("buildPackage", () => {
);
expect(exec.exec).toHaveBeenCalledWith(
"env",
["cmake", "--build", "."],
["cmake", "--build", ".", "-v"],
options
);
expect(exec.exec).toHaveBeenCalledWith("env", ["ctest"], options);
Expand Down Expand Up @@ -915,7 +915,7 @@ describe("buildPackage", () => {
);
expect(exec.exec).toHaveBeenCalledWith(
"env",
["cmake", "--build", "."],
["cmake", "--build", ".", "-v"],
options
);
expect(exec.exec).toHaveBeenCalledWith("env", ["ctest"], options);
Expand Down Expand Up @@ -1007,7 +1007,7 @@ describe("buildPackage", () => {
);
expect(exec.exec).toHaveBeenCalledWith(
"env",
["cmake", "--build", "."],
["cmake", "--build", ".", "-v"],
options
);
expect(exec.exec).toHaveBeenCalledWith("env", ["ctest"], options);
Expand Down Expand Up @@ -1097,7 +1097,7 @@ describe("buildPackage", () => {
);
expect(exec.exec).toHaveBeenCalledWith(
"env",
["cmake", "--build", "."],
["cmake", "--build", ".", "-v"],
options
);
expect(exec.exec).not.toHaveBeenCalledWith("env", ["ctest"], options);
Expand Down Expand Up @@ -1196,7 +1196,8 @@ describe("buildPackage", () => {
command === "env" &&
args[0] === "cmake" &&
args[1] === "--build" &&
args[2] === "."
args[2] === "." &&
args[3] === "-v"
) {
return Promise.resolve(1);
}
Expand Down

0 comments on commit e6f2443

Please sign in to comment.