Add basic test for ol.DeviceOrientation
This commit is contained in:
16
test/spec/ol/deviceorientation.test.js
Normal file
16
test/spec/ol/deviceorientation.test.js
Normal file
@@ -0,0 +1,16 @@
|
||||
goog.provide('ol.test.DeviceOrientation');
|
||||
|
||||
describe('ol.DeviceOrientation', function() {
|
||||
|
||||
describe('constructor', function() {
|
||||
|
||||
it('can be constructed without arguments', function() {
|
||||
var instance = new ol.DeviceOrientation();
|
||||
expect(instance).to.be.an(ol.DeviceOrientation);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
goog.require('ol.DeviceOrientation');
|
||||
Reference in New Issue
Block a user