Fixing tests.

This commit is contained in:
ahocevar committed 2012-07-09 08:26:25 +02:00
1 parent 5a485ea856
commit d76eea8ac4
1 file changed
-6
-6
View File
@@ -172,10 +172,4 @@ describe("ol.event.Events", function() {
expect(ol.event.isMultiTouch({})).toBe(false);
});
it("provides an isEnterOrSpace() function", function() {
expect(ol.event.isEnterOrSpace({type: 'keypress', keyCode: 13})).toBe(true);
expect(ol.event.isEnterOrSpace({type: 'keypress', keyCode: 32})).toBe(true);
expect(ol.event.isEnterOrSpace({type: 'keypress', keyCode: 3})).toBe(true);
});
});