Skip to content

Commit

Permalink
Add a timeout for the open/close integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
reconbot committed Jul 29, 2017
1 parent 63c5554 commit ae89830
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ function integrationTest(platform, testPort, Binding) {
});
});

it('can be read after closing and opening', (done) => {
it('can be read after closing and opening', function(done) {
this.timeout(6000);
const port = new SerialPort(testPort, { autoOpen: false });
port.on('error', done);

Expand Down

0 comments on commit ae89830

Please sign in to comment.