Skip to content

Commit

Permalink
chore(deps): update dependency mocha to v7 (#1547)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency mocha to v7
* fix(tests): mocha binary is no longer '_mocha' in v7

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
  • Loading branch information
renovate[bot] and renovate-bot committed Feb 12, 2020
1 parent 1f5b708 commit 46ca6f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -40,7 +40,7 @@
"cross-spawn": "^7.0.0",
"es6-promise": "^4.2.5",
"hashish": "0.0.4",
"mocha": "^5.2.0",
"mocha": "^7.0.0",
"rimraf": "^3.0.0",
"standard": "^12.0.1",
"which": "^2.0.0",
Expand Down
6 changes: 3 additions & 3 deletions test/usage.js
Expand Up @@ -3451,7 +3451,7 @@ describe('usage tests', () => {
should.not.exist(err)
should.exist(r.errors[0])
r.errors[0].split('\n').should.deep.equal([
'_mocha cmd',
'mocha cmd',
'',
'test command',
'',
Expand Down Expand Up @@ -3488,10 +3488,10 @@ describe('usage tests', () => {
err.message.should.equal('You need at least one command before moving on')
should.exist(r.errors[0])
r.errors[0].split('\n').should.deep.equal([
'_mocha <command>',
'mocha <command>',
'',
'Commands:',
' _mocha cmd test command',
' mocha cmd test command',
'',
'Options:',
' --help Show help [boolean]',
Expand Down

0 comments on commit 46ca6f9

Please sign in to comment.