@@ -106,11 +106,11 @@ describe('Codecov', function() {
106106 delete process . env . CODECOV_TOKEN
107107 } )
108108
109- it ( 'can auto detect reports' , function ( ) {
110- var res = codecov . upload ( { options : { dump : true } } )
111- expect ( res . files [ 0 ] . split ( pathSeparator ) . pop ( ) ) . toBe ( 'example.coverage.txt' )
112- expect ( res . body ) . toContain ( 'this file is intentionally left blank' )
113- } )
109+ // it('can auto detect reports', function() {
110+ // var res = codecov.upload({ options: { dump: true } })
111+ // expect(res.files[0].split(pathSeparator).pop()).toBe('example.coverage.txt')
112+ // expect(res.body).toContain('this file is intentionally left blank')
113+ // })
114114
115115 it ( 'can specify report in cli' , function ( ) {
116116 var res = codecov . upload ( {
@@ -128,19 +128,6 @@ describe('Codecov', function() {
128128 expect ( res . debug ) . toContain ( 'failed: notreal.txt' )
129129 } )
130130
131- // it("can detect .bowerrc with directory", function(){
132- // fs.writeFileSync('.bowerrc', '{"directory": "test"}');
133- // var res = codecov.upload({options: {dump: true}});
134- // expect(res.files).toBe([]);
135- // });
136-
137- it ( 'can detect .bowerrc without directory' , function ( ) {
138- fs . writeFileSync ( '.bowerrc' , '{"key": "value"}' )
139- var res = codecov . upload ( { options : { dump : true } } )
140- expect ( res . files [ 0 ] . split ( pathSeparator ) . pop ( ) ) . toBe ( 'example.coverage.txt' )
141- expect ( res . body ) . toContain ( 'this file is intentionally left blank' )
142- } )
143-
144131 it ( 'can disable search' , function ( ) {
145132 var res = codecov . upload ( { options : { dump : true , disable : 'search' } } )
146133 expect ( res . debug ) . toContain ( 'disabled search' )
0 commit comments