From 95c15e7e550a04e50b452bff08d1c2b7c2b9710c Mon Sep 17 00:00:00 2001 From: David Luecke Date: Mon, 2 May 2016 21:35:20 -0700 Subject: [PATCH] Set rejectUnauthorized explicitly --- test/application.test.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/application.test.js b/test/application.test.js index 0048e867c7..d8af9d15fb 100644 --- a/test/application.test.js +++ b/test/application.test.js @@ -203,7 +203,11 @@ describe('Feathers application', () => { app.setup(httpsServer); httpsServer.on('listening', function () { - const socket = io('https://localhost:7889', { secure: true, port: 7889 }); + const socket = io('https://localhost:7889', { + secure: true, + port: 7889, + rejectUnauthorized: false + }); request({ url: 'https://localhost:7889/secureTodos/dishes',