Skip to content

Commit 4e8b963

Browse files
committed
Fix the imports
1 parent bd520ef commit 4e8b963

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

test/nodejs/match.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import OSRM from '../../lib/index.js';
33
import test from 'tape';
44
import { data_path, mld_data_path, three_test_coordinates, two_test_coordinates } from './constants.js';
55
import flatbuffers from 'flatbuffers';
6-
import { osrm } from '../../features/support/fbresult_generated.js';
6+
import * as osrm from '../../features/support/osrm/engine/api/fbresult.js';
77

88
const FBResult = osrm.engine.api.fbresult.FBResult;
99

test/nodejs/nearest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import OSRM from '../../lib/index.js';
33
import test from 'tape';
44
import { data_path, mld_data_path, three_test_coordinates, two_test_coordinates } from './constants.js';
55
import flatbuffers from 'flatbuffers';
6-
import { osrm } from '../../features/support/fbresult_generated.js';
6+
import * as osrm from '../../features/support/osrm/engine/api/fbresult.js';
77

88
const FBResult = osrm.engine.api.fbresult.FBResult;
99

test/nodejs/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import OSRM from '../../lib/index.js';
33
import test from 'tape';
44
import { data_path as monaco_path, mld_data_path as monaco_mld_path, three_test_coordinates, two_test_coordinates } from './constants.js';
55
import flatbuffers from 'flatbuffers';
6-
import { osrm } from '../../features/support/fbresult_generated.js';
6+
import * as osrm from '../../features/support/osrm/engine/api/fbresult.js';
77

88
const FBResult = osrm.engine.api.fbresult.FBResult;
99

test/nodejs/table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import OSRM from '../../lib/index.js';
33
import test from 'tape';
44
import { data_path, mld_data_path, three_test_coordinates, two_test_coordinates } from './constants.js';
55
import flatbuffers from 'flatbuffers';
6-
import { osrm } from '../../features/support/fbresult_generated.js';
6+
import * as osrm from '../../features/support/osrm/engine/api/fbresult.js';
77

88
const FBResult = osrm.engine.api.fbresult.FBResult;
99

test/nodejs/trip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import OSRM from '../../lib/index.js';
33
import test from 'tape';
44
import { data_path, mld_data_path, three_test_coordinates, two_test_coordinates } from './constants.js';
55
import flatbuffers from 'flatbuffers';
6-
import { osrm } from '../../features/support/fbresult_generated.js';
6+
import * as osrm from '../../features/support/osrm/engine/api/fbresult.js';
77

88
const FBResult = osrm.engine.api.fbresult.FBResult;
99

0 commit comments

Comments
 (0)