In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
15 lines
302 B
JavaScript
15 lines
302 B
JavaScript
import Rotate from '../../../../src/ol/control/Rotate.js';
|
|
|
|
describe('ol.control.Rotate', function() {
|
|
|
|
describe('constructor', function() {
|
|
|
|
it('can be constructed without arguments', function() {
|
|
const instance = new Rotate();
|
|
expect(instance).to.be.an(Rotate);
|
|
});
|
|
|
|
});
|
|
|
|
});
|