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 0325a9b commit 645fcd6Copy full SHA for 645fcd6
tests/selenium.js
@@ -172,11 +172,13 @@
172
browserStream.push(result.browser);
173
});
174
175
- resultStream.onEnd(function() {
176
- browser.quit();
+ return resultStream.fold([], pushToArray).flatMap(function(value) {
+ return Bacon.fromCallback(function(callback) {
177
+ browser.quit(function() {
178
+ callback(value);
179
+ });
180
181
-
- return resultStream.fold([], pushToArray);
182
}
183
184
function createImages(data) {
0 commit comments