Skip to content

Commit

Permalink
Adding travis logic to test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdevel committed Jun 23, 2014
1 parent 4cf97d1 commit 99f81af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/xinput.tests.js
Expand Up @@ -7,7 +7,7 @@ function getTouchpad(cb){
var touchpad = devices.filter(function(device){
return device.name.toLowerCase().indexOf('touchpad') !== -1;
})[0];
cb(err, touchpad);
cb(err, process.env.TRAVIS ? devices[devices.length - 1] : touchpad);
});
}

Expand Down

0 comments on commit 99f81af

Please sign in to comment.