Skip to content

Commit

Permalink
mand
Browse files Browse the repository at this point in the history
  • Loading branch information
sverweij committed Aug 17, 2024
1 parent b47bb32 commit b71f62e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/cli/normalize-cli-options.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@ describe("[I] cli/normalizeCliOptions - regular normalizations", () => {
});

it("translates --affected into a reaches option", async () => {
let lError = "none";
try {
const lResult = await normalizeCliOptions({ affected: true });
deepEqual(Object.hasOwn(lResult, "reaches"), true);
Expand All @@ -341,8 +340,7 @@ describe("[I] cli/normalizeCliOptions - regular normalizations", () => {
// affected: true translates to the 'main' branch. Luckily for us we
// throw an error when the branch doesn't exist that reflects the
// branch name we attempted to use
lError = pError.toString();
equal(lError.includes("'main'"), true);
equal(pError.toString().includes("'main'"), true);
}
});

Expand Down

0 comments on commit b71f62e

Please sign in to comment.