mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Don't rely on test side effects to init() osm service
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
describe('iD.serviceOsm', function () {
|
||||
var connection;
|
||||
var context, connection;
|
||||
|
||||
|
||||
beforeEach(function () {
|
||||
connection = iD.services.osm;
|
||||
context = iD.Context(window);
|
||||
connection = context.connection();
|
||||
connection.switch({ urlroot: 'http://www.openstreetmap.org'});
|
||||
connection.reset();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user