Skip to content

Commit 5bfa684

Browse files
committed
1.1.5
1 parent ae98fdf commit 5bfa684

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

.eslintrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"extends": "standard",
32
"rules": {
43
"indent": [2, 4],
54
"no-var": 2,
@@ -9,4 +8,4 @@
98
},
109
"parser": "babel-eslint",
1110
"globals": {}
12-
}
11+
}

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ clean:
99
lint:
1010
eslint lib/
1111
test: clean lint
12-
mocha --reporter spec $(MOCHAFLAGS)
12+
mocha --exit --reporter spec $(MOCHAFLAGS)
13+
14+
version:
15+
node -e "console.log(require('./package.json').version)"

package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "TestingBot <[email protected]> (testingbot.com)",
33
"name": "testingbot-tunnel-launcher",
44
"description": "A wrapper around TestingBot's Tunnel",
5-
"version": "1.1.4",
5+
"version": "1.1.5",
66
"homepage": "https://github.com/testingbot/testingbot-tunnel-launcher",
77
"scripts": {
88
"lint": "eslint .",
@@ -17,11 +17,8 @@
1717
"babel-eslint": "^4.1.1",
1818
"babel-plugin-rewire": "^1.0.0",
1919
"babel-plugin-transform-object-assign": "^6.22.0",
20-
"babel-eslint": "^7.1.1",
20+
"babel-eslint": "^8.0.2",
2121
"eslint": "^4.1.0",
22-
"eslint-config-standard": "^10.2.1",
23-
"eslint-plugin-standard": "^3.0.1",
24-
"eslint-plugin-promise": "^3.4.1",
2522
"mocha": "^3.2.0",
2623
"grunt": "^1.0.1",
2724
"grunt-babel": "^7.0.0",
@@ -34,8 +31,8 @@
3431
"grunt-npm": "0.0.2",
3532
"isparta": "^4.0.0",
3633
"load-grunt-tasks": "^3.2.0",
37-
"mocha": "^3.1.2",
38-
"mocha-junit-reporter": "^1.13.0"
34+
"mocha": "^4.0.1",
35+
"mocha-junit-reporter": "^1.15.0"
3936
},
4037
"engines": {
4138
"node": ">=4.4"

test/tunnel-launcher_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ describe('Tunnel Launcher', function() {
1919
});
2020

2121
it('should correctly return an error when the tunnel returns an error', function(done) {
22-
this.timeout(20000);
22+
this.timeout(10000);
2323
tunnelLauncher({ apiKey: 'fake', apiSecret: 'fake' }, function(err, tunnel) {
2424
assert.equal(tunnel, null);
25-
assert.equal(err.message, "Invalid credentials. Please supply the correct key/secret obtained from TestingBot.com");
25+
assert.equal(err.message, "An error ocurred: 401 Unauthorized. Please supply the correct API key and API secret");
2626
done();
2727
});
2828
});

0 commit comments

Comments
 (0)