From b051ae284e16d1f7e8b2b1a5dcaf21b5bf4efe44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20L=C3=B3pez?= Date: Fri, 19 May 2017 13:51:27 +0200 Subject: [PATCH] Remove throw check --- test/rendering_js-strict.test.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/rendering_js-strict.test.js b/test/rendering_js-strict.test.js index 07df548..4e15de9 100644 --- a/test/rendering_js-strict.test.js +++ b/test/rendering_js-strict.test.js @@ -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 () {