Files
openlayers/test/spec/ol/source/cartodb.test.js
Tim Schaub ad62739a6e Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00

17 lines
434 B
JavaScript

import CartoDB from '../../../../src/ol/source/CartoDB.js';
import XYZ from '../../../../src/ol/source/XYZ.js';
describe('ol.source.CartoDB', function() {
describe('constructor', function() {
it('returns a CartoDB source', function() {
const source = new CartoDB({
account: 'documentation',
config: {}
});
expect(source).to.be.a(XYZ);
expect(source).to.be.a(CartoDB);
});
});
});