From e1632db0c1f3da84dd32a7b1dbde5b60e929f0e6 Mon Sep 17 00:00:00 2001 From: Mike Donnalley Date: Fri, 22 Sep 2023 15:00:07 -0600 Subject: [PATCH] test: unset config vars after setting them --- test/integration/sf.e2e.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/integration/sf.e2e.ts b/test/integration/sf.e2e.ts index 27636093c..7e423d206 100644 --- a/test/integration/sf.e2e.ts +++ b/test/integration/sf.e2e.ts @@ -114,5 +114,9 @@ describe('Salesforce CLI (sf)', () => { } expect(results.failures).to.be.empty + + const unset = await executor.executeCommand('config unset disable-telemetry org-api-version --global') + const unsetParsed = parseJson(unset.stdout!) + expect(unsetParsed.status).to.equal(0) }) })