remove an useless test case
This commit is contained in:
parent
31c044a36c
commit
d16b38c6f8
@ -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({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user