diff --git a/tests/browser/test.js b/tests/browser/test.js index 93abba7f3..2310195a1 100644 --- a/tests/browser/test.js +++ b/tests/browser/test.js @@ -18,7 +18,7 @@ tape('returns on error', function(t) { uri: 'https://stupid.nonexistent.path:port123/\\<-great-idea', withCredentials: false }, function (error, response) { - t.notEqual(error, undefined) + t.equal(typeof error, 'object') t.end() }) })