diff --git a/test/error.js b/test/error.js index 9d764bf..903f632 100644 --- a/test/error.js +++ b/test/error.js @@ -13,6 +13,7 @@ test('should emit errors of jade correctly', function(t){ .pipe(task() .on('error', function(err){ t.ok(err); + t.ok(err instanceof Error); t.end(); })); });