mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-31 09:19:25 +02:00
Update tests
This commit is contained in:
@@ -51,6 +51,8 @@ describe("iD.behavior.Hash", function () {
|
||||
});
|
||||
|
||||
it("stores the current zoom and coordinates in location.hash on map move events", function () {
|
||||
location.hash = "";
|
||||
|
||||
hash();
|
||||
|
||||
context.map().center([38.9, -77.0]);
|
||||
|
||||
@@ -22,8 +22,8 @@ describe('iD.Background', function() {
|
||||
});
|
||||
|
||||
it('#source', function() {
|
||||
expect(c.source(iD.BackgroundSource.Bing)).to.equal(c);
|
||||
expect(c.source()).to.equal(iD.BackgroundSource.Bing);
|
||||
expect(c.source(iD.layers[0])).to.equal(c);
|
||||
expect(c.source()).to.equal(iD.layers[0]);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user