Format OruxMaps voice hints

This commit is contained in:
Norbert Renner 2021-03-01 10:16:02 +01:00
parent 8f2261037c
commit 819d0fbf22
3 changed files with 66 additions and 1 deletions

View file

@ -72,4 +72,11 @@ describe('voice hints', () => {
const gpx = BR.Gpx.format(geoJson, 5);
expect(gpx).toEqual(brouterGpx);
});
test('6-orux', () => {
let brouterGpx = read('6-orux.gpx');
brouterGpx = brouterGpx.replace(/<(\/?)om:/g, '<$1'); // TODO namespace
const gpx = BR.Gpx.format(geoJson, 6);
expect(gpx).toEqual(brouterGpx);
});
});