Skip to content
This repository was archived by the owner on Dec 4, 2020. It is now read-only.

Commit 824e864

Browse files
committed
Bump dev dependencies
1 parent 5e9b164 commit 824e864

File tree

4 files changed

+112
-171
lines changed

4 files changed

+112
-171
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
"devDependencies": {
2424
"chai": "^4.1.2",
2525
"dirty-chai": "^2.0.1",
26-
"eslint": "^4.8.0",
27-
"eslint-config-airbnb": "^15.1.0",
28-
"mocha": "^3.5.3",
29-
"sinon": "^4.0.0",
26+
"eslint": "^4.13.1",
27+
"eslint-config-airbnb": "^16.1.0",
28+
"mocha": "^4.0.1",
29+
"sinon": "^4.1.3",
3030
"sinon-chai": "^2.14.0"
3131
},
3232
"eslintConfig": {

test/arg-parser-test.js

+9-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,15 @@ describe('arg-parser', function () {
3333
it('correctly aligns required arguments around splatting', function () {
3434
var args = ['a', 'b', 'c...', 'd', 'e'];
3535
expect(ArgParser.align(args, [1, 2, 3])).to.be.false();
36-
expect(ArgParser.align(args, [1, 2, 3, 4])).to.deep.equal({ a: 1, b: 2, c: [], d: 3, e: 4 });
37-
expect(ArgParser.align(args, [1, 2, 3, 4, 5])).to.deep.equal({ a: 1, b: 2, c: [3], d: 4, e: 5 });
38-
expect(ArgParser.align(args, [1, 2, 3, 4, 5, 6, 7])).to.deep.equal({ a: 1, b: 2, c: [3, 4, 5], d: 6, e: 7 });
36+
expect(ArgParser.align(args, [1, 2, 3, 4])).to.deep.equal({
37+
a: 1, b: 2, c: [], d: 3, e: 4
38+
});
39+
expect(ArgParser.align(args, [1, 2, 3, 4, 5])).to.deep.equal({
40+
a: 1, b: 2, c: [3], d: 4, e: 5
41+
});
42+
expect(ArgParser.align(args, [1, 2, 3, 4, 5, 6, 7])).to.deep.equal({
43+
a: 1, b: 2, c: [3, 4, 5], d: 6, e: 7
44+
});
3945
});
4046
});
4147

test/integration-test.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,9 @@ describe('integration', function () {
109109
};
110110
slackbot.buildRouter()(event, context, callback);
111111

112-
expect(callback).to.have.been.calledWithExactly(null,
113-
{ text: 'You pressed the testButtonAction button' });
112+
expect(callback).to.have.been.calledWithExactly(null, {
113+
text: 'You pressed the testButtonAction button'
114+
});
114115
});
115116

116117
it('supports splatting the last argument', function () {

0 commit comments

Comments
 (0)