From d16b38c6f87731e095d56e19aeb6f985b5191f29 Mon Sep 17 00:00:00 2001 From: "xin.wang" Date: Tue, 29 Aug 2023 17:35:29 -0900 Subject: [PATCH] remove an useless test case --- test/nodejs/index.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/nodejs/index.js b/test/nodejs/index.js index d9881cae1..bf4003605 100644 --- a/test/nodejs/index.js +++ b/test/nodejs/index.js @@ -137,12 +137,6 @@ test('constructor: takes a keepalive_timeout argument', function(assert) { assert.ok(osrm); }); -test('constructor: throws if keepalive_timeout is not a number', function(assert) { - assert.plan(2); - assert.throws(function() { new OSRM({algorithm: 'MLD', path: monaco_mld_path, keepalive_timeout: 'abc'}); }, /keepalive_timeout must be an integral number/, 'Does not accept invalid string'); - assert.ok(new OSRM({algorithm: 'MLD', path: monaco_mld_path, keepalive_timeout: 1}), 'Does accept number'); -}); - test('constructor: parses custom limits', function(assert) { assert.plan(1); var osrm = new OSRM({