Use constructor for test validation
This commit is contained in:
parent
8c75b4b0c6
commit
410ecfd3c7
@ -194,7 +194,7 @@ describe('RenderingJS', function() {
|
|||||||
var shader = (new carto.RendererJS({})).render(css);
|
var shader = (new carto.RendererJS({})).render(css);
|
||||||
var layer = shader.getLayers()[0];
|
var layer = shader.getLayers()[0];
|
||||||
var value = layer.shader['marker-width'].style({ name: 'wadus' }, { zoom: 1 });
|
var value = layer.shader['marker-width'].style({ name: 'wadus' }, { zoom: 1 });
|
||||||
});
|
}, ReferenceError);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("`=~` operator should support numbers", function(){
|
it("`=~` operator should support numbers", function(){
|
||||||
|
Loading…
Reference in New Issue
Block a user