Skip to content

Commit

Permalink
fix: fix up a couple more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Coe committed Jan 22, 2017
1 parent 9df505c commit 85f4cd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/command.js
@@ -1,4 +1,4 @@
/* global describe, it, beforeEach */
/* global context, describe, it, beforeEach */
var yargs = require('../')
var expect = require('chai').expect
var checkOutput = require('./helpers/utils').checkOutput
Expand Down
4 changes: 3 additions & 1 deletion test/yargs.js
Expand Up @@ -222,6 +222,8 @@ describe('yargs dsl tests', function () {
.group('foo', 'Group:')
.strict()
.exitProcess(false) // defaults to true.
.global('foo', false)
.global('qux', false)
.env('YARGS')
.reset()

Expand Down Expand Up @@ -1292,7 +1294,7 @@ describe('yargs dsl tests', function () {
.implies({
z: 'w'
})
.global(['x'])
.global(['z'], false)
.reset()
var implied = y.getValidationInstance().getImplied()
Object.keys(implied).should.include('x')
Expand Down

0 comments on commit 85f4cd6

Please sign in to comment.