test(OpenCode TLS): 補齊非 false 值驗證
This commit is contained in:
+1
-1
@@ -115,7 +115,7 @@ describe('getLLMConfig', () => {
|
||||
});
|
||||
|
||||
it('skips OpenCode TLS verification for empty string and non-false values', () => {
|
||||
for (const value of ['', '0', 'true', 'yes']) {
|
||||
for (const value of ['', '0', 'true', 'yes', '1', 'on', 'custom']) {
|
||||
process.env.OPENCODE_SKIP_TLS_VERIFY = value;
|
||||
assert.equal(shouldSkipOpenCodeTLSVerify(), true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user