test(TLS 驗證): 補上憑證忽略行為測試

This commit is contained in:
2026-06-26 09:20:57 +00:00
parent bc0df06445
commit 2fe03e94f0
3 changed files with 8 additions and 0 deletions
+4
View File
@@ -48,4 +48,8 @@ describe('getLLMConfig', () => {
assert.equal(agent.options.rejectUnauthorized, false);
});
it('disables Node TLS certificate verification globally', () => {
assert.equal(process.env.NODE_TLS_REJECT_UNAUTHORIZED, '0');
});
});