diff --git a/javascript/node/selenium-webdriver/test/io_test.js b/javascript/node/selenium-webdriver/test/io_test.js index 42ec8d3a38cc1..840d7644b269d 100644 --- a/javascript/node/selenium-webdriver/test/io_test.js +++ b/javascript/node/selenium-webdriver/test/io_test.js @@ -307,7 +307,7 @@ describe('io', function() { }); it('catches errors from invalid input', function() { - return io.read(1234) + return io.read({}) .then(() => assert.fail('should have failed'), (e) => assert.ok(e instanceof TypeError)); });