diff --git a/test/fast/config-test.ts b/test/fast/config-test.ts index 21aff8e..6fb1d9f 100644 --- a/test/fast/config-test.ts +++ b/test/fast/config-test.ts @@ -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(), '') } })