Named exports from ol/css module

This commit is contained in:
Marc Jansen
2017-12-19 11:36:21 +01:00
parent 1aa7313a7b
commit a7c5897bdb
14 changed files with 40 additions and 46 deletions

View File

@@ -1,4 +1,4 @@
import _ol_css_ from '../../../src/ol/css.js';
import {getFontFamilies} from '../../../src/ol/css.js';
describe('ol.css', function() {
@@ -25,7 +25,7 @@ describe('ol.css', function() {
cases.forEach(function(c, i) {
it('works for ' + c.font, function() {
var families = _ol_css_.getFontFamilies(c.font);
var families = getFontFamilies(c.font);
if (c.families === null) {
expect(families).to.be(null);
return;