Skip to content

Commit

Permalink
[jest] remove tls certificate config that didn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Apr 8, 2024
1 parent 46f550d commit e22849b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit e22849b

Please sign in to comment.