Skip to content

Commit

Permalink
Support older versions of Node.
Browse files Browse the repository at this point in the history
For now!
  • Loading branch information
octalmage committed Feb 25, 2018
1 parent 6584c95 commit 07d6f0e
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 15 deletions.
29 changes: 19 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"prebuild-install": "^2.1.1"
},
"devDependencies": {
"jasmine": "^3.0.0",
"jasmine": "^2.99.0",
"prebuild": "v6.1.0",
"targetpractice": "0.0.7"
}
Expand Down
2 changes: 1 addition & 1 deletion test/integration/keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var os = require('os');

robot.setMouseDelay(100);

let target, elements;
var target, elements;

describe('Integration/Keyboard', () => {
beforeEach(done => {
Expand Down
4 changes: 2 additions & 2 deletions test/integration/mouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var os = require('os');

robot.setMouseDelay(100);

let target, elements;
var target, elements;

describe('Integration/Mouse', () => {
beforeEach(done => {
Expand Down Expand Up @@ -43,7 +43,7 @@ describe('Integration/Mouse', () => {
* TODO: This is gross! The scroll distance is different for each OS. I want
* to look into this further, but at least these numbers are consistent.
*/
let expectedScroll;
var expectedScroll;
switch(os.platform()) {
case 'linux':
expectedScroll = 180;
Expand Down
2 changes: 1 addition & 1 deletion test/integration/screen.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* jshint esversion: 6 */
var robot = require('../..');
var targetpractice = require('targetpractice/index.js');
let elements, target;
var elements, target;

describe('Integration/Screen', () => {
beforeEach(done => {
Expand Down

0 comments on commit 07d6f0e

Please sign in to comment.