Remove throw check
This commit is contained in:
parent
ea880ccf7b
commit
b051ae284e
@ -135,12 +135,7 @@ describe('RendererJS Strict Mode', function() {
|
||||
));
|
||||
|
||||
it('should pass if a feature is not supported but strict is turned off', function () {
|
||||
assert.doesNotThrow(
|
||||
function () {
|
||||
var RendererJS = new carto.RendererJS({reference: reference, mapnik_version: '1.0.0', strict: false });
|
||||
var shader = RendererJS.render(style);
|
||||
}
|
||||
);
|
||||
new carto.RendererJS({reference: reference, mapnik_version: '1.0.0', strict: false })
|
||||
});
|
||||
|
||||
it('should pass if a feature is supported and strict is turned on', function () {
|
||||
|
Loading…
Reference in New Issue
Block a user