Skip to content

Commit

Permalink
chore: rework delete
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Mar 2, 2023
1 parent 9a616ae commit 1ccba89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/commands/config/set.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ function verifyValidationError(key: string, value: string | number, message: str
];
const result = execCmd<Array<{ error: unknown }>>(`config set ${key}=${value} --json`, { cli: 'sf' }).jsonOutput
?.result;
if (result) {
delete result[0].error;
}

delete result?.[0].error;

expect(result).to.deep.equal(expected);
execCmd(`config unset ${key}`);
}
Expand Down

0 comments on commit 1ccba89

Please sign in to comment.