Rename _ol_style_Stroke_ to Stroke
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Graticule from '../../../src/ol/Graticule.js';
|
||||
import Map from '../../../src/ol/Map.js';
|
||||
import {get as getProjection} from '../../../src/ol/proj.js';
|
||||
import _ol_style_Stroke_ from '../../../src/ol/style/Stroke.js';
|
||||
import Stroke from '../../../src/ol/style/Stroke.js';
|
||||
import _ol_style_Text_ from '../../../src/ol/style/Text.js';
|
||||
|
||||
describe('ol.Graticule', function() {
|
||||
@@ -54,12 +54,12 @@ describe('ol.Graticule', function() {
|
||||
var actualStyle = graticule.strokeStyle_;
|
||||
|
||||
expect(actualStyle).not.to.be(undefined);
|
||||
expect(actualStyle instanceof _ol_style_Stroke_).to.be(true);
|
||||
expect(actualStyle instanceof Stroke).to.be(true);
|
||||
});
|
||||
|
||||
it('can be configured with a stroke style', function() {
|
||||
createGraticule();
|
||||
var customStrokeStyle = new _ol_style_Stroke_({
|
||||
var customStrokeStyle = new Stroke({
|
||||
color: 'rebeccapurple'
|
||||
});
|
||||
var styledGraticule = new Graticule({
|
||||
|
||||
Reference in New Issue
Block a user