UNPKG

351 Btext/coffeescriptView Raw
1describe 'Package configuration precedence', ->
2
3 it 'should take on config file options', ->
4 expect(pack.opts.third).toBe 'c'
5
6 it 'should replace config file arguments with commandline options', ->
7 expect(pack.opts.first).toBe 'a'
8
9 it 'should replace base options with command specific options', ->
10 expect(pack.opts.second).toBe 'x'