Skip to content

Commit

Permalink
test: unset config vars after setting them
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Sep 22, 2023
1 parent 8413a86 commit e1632db
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/integration/sf.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
})

0 comments on commit e1632db

Please sign in to comment.