Skip to content

Commit

Permalink
chore(tests): remove duplicated test (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
elas7 authored and bcoe committed Apr 13, 2016
1 parent 4a50477 commit ff54e07
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/yargs-parser.js
Expand Up @@ -447,19 +447,6 @@ describe('yargs-parser', function () {
argv.should.have.property('foo').and.deep.equal('banana')
})

it('should load options and values from a file when config is used', function () {
var argv = parser([ '--settings', jsonPath, '--foo', 'bar' ], {
alias: {
z: 'zoom'
},
config: ['settings']
})

argv.should.have.property('herp', 'derp')
argv.should.have.property('zoom', 55)
argv.should.have.property('foo').and.deep.equal('bar')
})

it("should allow config to be set as flag in 'option'", function () {
var argv = parser([ '--settings', jsonPath, '--foo', 'bar' ], {
alias: {
Expand Down

0 comments on commit ff54e07

Please sign in to comment.