Skip to content

Commit 5ab64ed

Browse files
committed
fix: suppress LGTM certificate validation warning in tests
1 parent 42cde8e commit 5ab64ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config_test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ describe('KubeConfig', () => {
521521
});
522522

523523
const originalValue = process.env.NODE_TLS_REJECT_UNAUTHORIZED;
524-
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
524+
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'; // lgtm[js/disabling-certificate-validation]
525525
after(() => {
526526
process.env.NODE_TLS_REJECT_UNAUTHORIZED = originalValue;
527527
server.close();

0 commit comments

Comments
 (0)