Skip to content

Commit

Permalink
test: reset plugins before running json command (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc authored Nov 14, 2023
1 parent 6ae90b7 commit b1430dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/commands/package/packageList.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ describe('package list', () => {
await session?.clean();
});
it('should list packages in dev hub - json results', async () => {
execCmd('plugins reset', { ensureExitCode: 0, cli: 'sf' });
const packages = await Package.list(hubOrg.getConnection());
const command = `package:list -v ${session.hubOrg.username} --json`;
const output = execCmd<{ [key: string]: unknown }>(command, { ensureExitCode: 0 }).jsonOutput;
Expand Down

0 comments on commit b1430dd

Please sign in to comment.