UNPKG

nightwatch

Version:

Easy to use Node.js based end-to-end testing solution for web applications using the W3C WebDriver API.

3 lines 126 B
module.exports = function(err) { return err instanceof Error || Object.prototype.toString.call(err) === '[object Error]'; };