mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-29 11:21:40 +02:00
fix occasional test failures (#10690)
This commit is contained in:
@@ -73,7 +73,9 @@ describe('iD.behaviorHash', function () {
|
||||
context.map().center([-77.0, 38.9]);
|
||||
context.map().zoom(2.0);
|
||||
window.setTimeout(function() {
|
||||
expect(window.location.hash).to.equal('#background=none&map=2.00/38.9/-77.0');
|
||||
// the hash might contain other things like `disable_features`
|
||||
expect(window.location.hash).to.include('background=none');
|
||||
expect(window.location.hash).to.include('map=2.00/38.9/-77.0');
|
||||
done();
|
||||
}, 600);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user