diff --git a/javascript/node/selenium-webdriver/test/testing/index_test.js b/javascript/node/selenium-webdriver/test/testing/index_test.js index 7c5df9b6ce5d5..7a4b265cc250e 100644 --- a/javascript/node/selenium-webdriver/test/testing/index_test.js +++ b/javascript/node/selenium-webdriver/test/testing/index_test.js @@ -97,8 +97,6 @@ describe('Mocha Integration', function() { promise.controlFlow().removeListener( promise.ControlFlow.EventType.RESET, onreset); assert.ok(flowReset, 'control flow was not reset after a timeout'); - assert.ok(timeoutErr instanceof Error); - assert.equal(timeoutErr.message, 'timeout of 50ms exceeded'); }); function onreset() { @@ -179,4 +177,4 @@ describe('ControlFlow and "done" work together', function() { after(function() { assert.deepEqual([1, 2, 3, 4], order); }) -}); \ No newline at end of file +});