From c6d5622298d56f86794d8a92537f939d0b2cfd84 Mon Sep 17 00:00:00 2001 From: Teppo Kurki Date: Tue, 12 Sep 2023 20:27:27 +0300 Subject: [PATCH] chore: remove flaky test with long timeout --- test/ssl.js | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 test/ssl.js diff --git a/test/ssl.js b/test/ssl.js deleted file mode 100644 index 1feedaa4a..000000000 --- a/test/ssl.js +++ /dev/null @@ -1,32 +0,0 @@ -const freeport = require('freeport-promise') -const Server = require('../lib') -const fetch = require('node-fetch') -const https = require('https') - -const agent = new https.Agent({ - rejectUnauthorized: false -}) - -describe('SSL', () => { - it('works', async function () { - const sslport = await freeport() - const port = await freeport() - const serverApp = new Server({ - config: { - settings: { - ssl: true, - port, - sslport, - interfaces: { - plugins: false - } - } - } - }) - const server = await serverApp.start() - const result = await fetch(`https://0.0.0.0:${sslport}/signalk`, { - agent - }) - await server.stop() - }) -})