From 0464877bbd1fe28928d6ec9182c1c0e22df1cd79 Mon Sep 17 00:00:00 2001 From: Jackson Morgan Date: Thu, 6 Jun 2019 11:51:14 -0400 Subject: [PATCH 1/2] Fix tests due to unmaintained server --- test/websockets.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/websockets.js b/test/websockets.js index 3a2c31a..d029e50 100644 --- a/test/websockets.js +++ b/test/websockets.js @@ -106,8 +106,7 @@ describe('Solid-ws', function() { '/resource.ttl' ] var users = [ 'http://nicola.io/#me', - 'http://timbl.com/#me', - 'http://deiu.io/#me' ] + 'http://timbl.com/#me' ] var clients = users.map(function() { return new WebSocket('http://localhost:' + port) @@ -131,8 +130,7 @@ describe('Solid-ws', function() { var url = 'http://example.com/resource.ttl' var users = [ 'http://nicola.io/#me', - 'http://timbl.com/#me', - 'http://deiu.io/#me' ] + 'http://timbl.com/#me' ] var clients = users.map(function() { return new WebSocket('http://localhost:' + port) From 1a8ba0c6455df641fbc4421230045f81fc516abf Mon Sep 17 00:00:00 2001 From: Jackson Morgan Date: Thu, 6 Jun 2019 13:24:28 -0400 Subject: [PATCH 2/2] Terminate tests when done --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 479cd53..09105f9 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Web sockets for Solid", "main": "index.js", "scripts": { - "test": "./node_modules/mocha/bin/mocha ./test/*.js" + "test": "./node_modules/mocha/bin/mocha ./test/*.js --exit" }, "repository": { "type": "git",