Merge pull request #6099 from tchandelle/modify-test
Modify interaction tests : check for change events
This commit is contained in:
@@ -140,7 +140,7 @@ describe('ol.interaction.Modify', function() {
|
|||||||
// make sure we get change events to events array
|
// make sure we get change events to events array
|
||||||
expect(events.length > 2).to.be(true);
|
expect(events.length > 2).to.be(true);
|
||||||
// middle events should be feature modification events
|
// middle events should be feature modification events
|
||||||
for (var i = 1; i < events.length - 2; i++) {
|
for (var i = 1; i < events.length - 1; i++) {
|
||||||
expect(events[i]).to.equal('change');
|
expect(events[i]).to.equal('change');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user