Skip to content

Commit

Permalink
Update config-test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
niik committed Oct 23, 2024
1 parent ef94ad7 commit 9c74b59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/fast/config-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ describe('config', () => {
if (process.platform === 'win32') {
const result = await exec(
['config', '--system', 'http.sslCAInfo'],
os.homedir()
os.homedir(),
{ ignoreExitCodes: [1] }
)
assert.equal(result.exitCode, 1)
assert.equal(result.stdout.trim(), '')
}
})
Expand Down

0 comments on commit 9c74b59

Please sign in to comment.