Skip to content

Commit

Permalink
fix server unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmunechika committed Oct 28, 2021
1 parent 3c47077 commit ff0cbab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/test/unit/util/suppress_warnings_spec.ts
Expand Up @@ -5,7 +5,7 @@ import proxyquire from 'proxyquire'

const ERROR_MESSAGE = 'Setting the NODE_TLS_REJECT_UNAUTHORIZED'

const TLS_CONNECT = `require('tls').connect().on('error', ()=>{});`
const TLS_CONNECT = `require('tls').connect('5000').on('error', ()=>{});`
const SUPPRESS_WARNING = `require('${__dirname}/../../../lib/util/suppress_warnings').suppress();`

describe('lib/util/suppress_warnings', function () {
Expand Down

0 comments on commit ff0cbab

Please sign in to comment.