Skip to content

Commit c153d94

Browse files
committed
Fix broken tests
1 parent 6640a1c commit c153d94

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

javascript/webdriver/test/e2e/setup.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ function setUp() {
5252

5353

5454
function tearDown() {
55-
driver.quit();
56-
if (container) {
57-
goog.dom.removeNode(container);
58-
}
55+
driver.quit().thenFinally(function() {
56+
if (container) {
57+
goog.dom.removeNode(container);
58+
}
59+
});
5960
}

0 commit comments

Comments
 (0)