Skip to content

Commit f1a904e

Browse files
committed
js: remove test assertions that depend on mocha internals and are outside our
control.
1 parent 5312b9f commit f1a904e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

javascript/node/selenium-webdriver/test/testing/index_test.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ describe('Mocha Integration', function() {
9797
promise.controlFlow().removeListener(
9898
promise.ControlFlow.EventType.RESET, onreset);
9999
assert.ok(flowReset, 'control flow was not reset after a timeout');
100-
assert.ok(timeoutErr instanceof Error);
101-
assert.equal(timeoutErr.message, 'timeout of 50ms exceeded');
102100
});
103101

104102
function onreset() {
@@ -179,4 +177,4 @@ describe('ControlFlow and "done" work together', function() {
179177
after(function() {
180178
assert.deepEqual([1, 2, 3, 4], order);
181179
})
182-
});
180+
});

0 commit comments

Comments
 (0)