Skip to content

Commit

Permalink
test: correct test description
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Mar 6, 2019
1 parent 03a9523 commit edd0bb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/middleware.js
Expand Up @@ -258,7 +258,7 @@ describe('middleware', () => {
.parse()
})

it('throws an error if async function provided', function () {
it('throws an error if promise returned and applyBeforeValidation enabled', function () {
expect(() => {
yargs(['mw'])
.middleware([function (argv) {
Expand Down

0 comments on commit edd0bb5

Please sign in to comment.