We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44f53c5 commit dbd77d3Copy full SHA for dbd77d3
test/gabledroofbug.test.js
@@ -171,8 +171,8 @@ test('Test downloading type=building with multipolygon outline and multiple inne
171
expect(building.id).toBe('42');
172
expect(building.outerElement.shape.holes.length).toBe(1);
173
expect(global.fetch).toHaveBeenCalledTimes(3);
174
- expect(global.fetch.mock.calls[0][0]).toBe('/relation/42/full');
175
- expect(global.fetch.mock.calls[1][0]).toBe('/relation/40/full');
+ expect(global.fetch.mock.calls[0][0]).toBe('https://api.openstreetmap.org/api/0.6/relation/42/full');
+ expect(global.fetch.mock.calls[1][0]).toBe('https://api.openstreetmap.org/api/0.6/relation/40/full');
176
expect(global.fetch.mock.calls[2][0]).toBe('/map');
177
});
178
0 commit comments