Showing 1 of 8 total issues
Function exports
has 184 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = (_chai, utils) => {
function assertBrowserInstance (obj) {
new _chai.Assertion(obj.browser || obj).to.be.instanceof(Browser)
return obj.browser || obj
}