From 96470ac1c3d92891958442985127a380984ef125 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Fri, 24 Mar 2023 09:06:06 +0100 Subject: [PATCH] wip --- test/nodejs/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/nodejs/index.js b/test/nodejs/index.js index 1e31dacd9..d9dfbc221 100644 --- a/test/nodejs/index.js +++ b/test/nodejs/index.js @@ -152,7 +152,7 @@ test('constructor: takes a default_radius argument', function(assert) { test('constructor: throws if default_radius is not a number', function(assert) { assert.plan(2); assert.throws(function() { new OSRM({path: monaco_mld_path, algorithm: 'MLD', max_alternatives: 'abc'}); }, /default_radius must be an integral number/, 'Does not accept string'); - assert.ok(new OSRM({max_alternatives: 1}), 'Does accept number'); + assert.ok(new OSRM({path: monaco_mld_path, algorithm: 'MLD', max_alternatives: 1}), 'Does accept number'); }); require('./route.js');