From e22849b02681be9c19e0f1490c6b0815bb9d6917 Mon Sep 17 00:00:00 2001 From: Christian Langenbacher Date: Mon, 8 Apr 2024 14:13:08 +0800 Subject: [PATCH] [jest] remove tls certificate config that didn't work --- jest.config.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/jest.config.js b/jest.config.js index d15feaca..7a94c87d 100644 --- a/jest.config.js +++ b/jest.config.js @@ -6,11 +6,6 @@ const fs = require("fs"); const { defaults } = require("jest-config"); -const https = require('https'); - -// Override certificate validation to accept all certificates (including self-signed ones) -https.globalAgent.options.rejectUnauthorized = false; - module.exports = { moduleFileExtensions: [...defaults.moduleFileExtensions, "ts", "tsx"], modulePathIgnorePatterns: [