remove an useless test case

This commit is contained in:
xin.wang 2023-08-29 17:35:29 -09:00
parent 31c044a36c
commit d16b38c6f8

View File

@ -137,12 +137,6 @@ test('constructor: takes a keepalive_timeout argument', function(assert) {
assert.ok(osrm); 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) { test('constructor: parses custom limits', function(assert) {
assert.plan(1); assert.plan(1);
var osrm = new OSRM({ var osrm = new OSRM({