We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f51fd4f commit fc58da2Copy full SHA for fc58da2
lib/browser.js
@@ -152,9 +152,8 @@ class Browser {
152
}
153
154
onResult (result) {
155
- if (result.length) {
+ if (Array.isArray(result)) {
156
result.forEach(this.onResult, this)
157
- return
158
} else if (this.isNotConnected()) {
159
this.lastResult.add(result)
160
this.emitter.emit('spec_complete', this, result)
0 commit comments