diff --git a/test/test.js b/test/test.js index 0f22b8c..9f4b2eb 100644 --- a/test/test.js +++ b/test/test.js @@ -7,6 +7,10 @@ test ('confidence check with all styles', function (t) { html: '
', scripts: [], done: function (err, window) { + if (err) { + throw err; + } + global.window = window; var document = window.document; @@ -24,6 +28,10 @@ test ('confidence check with a missing style', function (t) { html: '
', scripts: [], done: function (err, window) { + if (err) { + throw err; + } + global.window = window; var document = window.document;