diff --git a/test/js/gzip.test.js b/test/js/gzip.test.js index ed1bb3c92..2ed0080ac 100644 --- a/test/js/gzip.test.js +++ b/test/js/gzip.test.js @@ -104,7 +104,7 @@ test('gzip', function(t) { mbgl.once('message', function(msg) { if (msg.severity == 'ERROR') { t.ok(msg, 'emits error'); - t.equal(msg.class, 'ResourceLoader'); + t.equal(msg.class, 'Style'); t.equal(msg.severity, 'ERROR'); t.ok(msg.text.match(/pbf unknown field type exception/), 'error text matches'); } diff --git a/test/js/map.test.js b/test/js/map.test.js index a29f661d8..ce6017beb 100644 --- a/test/js/map.test.js +++ b/test/js/map.test.js @@ -220,10 +220,10 @@ test('Map', function(t) { }); }); - t.skip('returns an error', function(t) { + t.test('returns an error', function(t) { mbgl.on('message', function(msg) { t.ok(msg, 'emits error'); - t.equal(msg.class, 'ResourceLoader'); + t.equal(msg.class, 'Style'); t.equal(msg.severity, 'ERROR'); t.ok(msg.text.match(/Failed to load/), 'error text matches'); });