@@ -106,11 +106,11 @@ describe('Codecov', function() {
106
106
delete process . env . CODECOV_TOKEN
107
107
} )
108
108
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
+ // })
114
114
115
115
it ( 'can specify report in cli' , function ( ) {
116
116
var res = codecov . upload ( {
@@ -128,19 +128,6 @@ describe('Codecov', function() {
128
128
expect ( res . debug ) . toContain ( 'failed: notreal.txt' )
129
129
} )
130
130
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
-
144
131
it ( 'can disable search' , function ( ) {
145
132
var res = codecov . upload ( { options : { dump : true , disable : 'search' } } )
146
133
expect ( res . debug ) . toContain ( 'disabled search' )
0 commit comments