Skip to content

Commit b6d3d13

Browse files
jbottiglierobcoe
authored andcommittedMay 5, 2019
test: use const based on new eslint rules (#329)
1 parent 00e3381 commit b6d3d13

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed
 

‎.travis.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
language: node_js
2+
os:
3+
- linux
4+
- windows
25
node_js:
36
- "6"
47
- "10"
5-
- "stable"
8+
- "node"
69
before_script:
710
- git config --global user.name 'Travis-CI'
811
- git config --global user.email 'dummy@example.org'

‎test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -710,13 +710,13 @@ describe('cli', function () {
710710
})
711711

712712
it('does not display `all staged files` without the --commit-all flag', function () {
713-
let result = execCli()
713+
const result = execCli()
714714
result.code.should.equal(0)
715715
result.stdout.should.not.match(/and all staged files/)
716716
})
717717

718718
it('does display `all staged files` if the --commit-all flag is passed', function () {
719-
let result = execCli('--commit-all')
719+
const result = execCli('--commit-all')
720720
result.code.should.equal(0)
721721
result.stdout.should.match(/and all staged files/)
722722
})

0 commit comments

Comments
 (0)
Please sign in to comment.