Files
openlayers/test/jasmine-extensions.js
2012-06-20 11:44:43 +02:00

9 lines
192 B
JavaScript

beforeEach(function() {
var parent = this.getMatchersClass_();
this.addMatchers({
toBeA: function(type) {
return this.actual instanceof type;
}
});
});