From 7f755812284bf3a731617b9431d24fc062832ddc Mon Sep 17 00:00:00 2001 From: mshanemc Date: Mon, 13 Nov 2023 17:22:38 -0600 Subject: [PATCH] test: reset plugins before running json command --- test/commands/package/packageList.nut.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/commands/package/packageList.nut.ts b/test/commands/package/packageList.nut.ts index 61df62d4..6afa2ba3 100644 --- a/test/commands/package/packageList.nut.ts +++ b/test/commands/package/packageList.nut.ts @@ -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;