Skip to content

Commit

Permalink
test: maybe it will pass on windows now
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonnalley committed Oct 6, 2023
1 parent af4abb9 commit 4bc1bd6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/integration/sf.integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,12 @@ describe('sf integration', () => {
// This would typically be set by the sf executable that's included in the tarball
// but since we're using bin/run.js to avoid the global sf, we need to set it manually
process.env.SF_BINPATH = sf

if (process.platform === 'win32') {
// append cmd /c to the command so that it can run on windows
sf = `cmd /c "${sf}"`
}

const versionResult = await exec(`${sf} version --json`)
console.log(versionResult.stdout)
expect(versionResult.code).to.equal(0)
Expand Down

0 comments on commit 4bc1bd6

Please sign in to comment.