Skip to content

Commit

Permalink
[js] Update test for node 6.9.x (where a number is a valid input as a…
Browse files Browse the repository at this point in the history
… file

descriptor)
  • Loading branch information
jleyba committed Nov 2, 2016
1 parent 32c4ebf commit ce01bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/node/selenium-webdriver/test/io_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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));
});
Expand Down

0 comments on commit ce01bba

Please sign in to comment.