@@ -650,13 +650,14 @@ describe('file upload in request body', function () {
650
650
} ) ;
651
651
} ) ;
652
652
653
- describe ( 'should upload large files correctly' , function ( ) {
653
+ ( IS_BROWSER ? describe . skip : describe ) ( 'should upload large files correctly' , function ( ) {
654
654
var testUploadFile = 'test/fixtures/upload-file-large.json' ;
655
655
656
656
afterEach ( function ( ) {
657
657
sh . rm ( '-rf' , testUploadFile ) ;
658
658
} ) ;
659
659
660
+ // eslint-disable-next-line mocha/no-sibling-hooks
660
661
before ( function ( done ) {
661
662
this . enableTimeouts ( false ) ;
662
663
if ( IS_DARWIN ) {
@@ -689,6 +690,7 @@ describe('file upload in request body', function () {
689
690
} ) ;
690
691
} ) ;
691
692
693
+ // eslint-disable-next-line mocha/no-identical-title
692
694
it ( 'should complete the run' , function ( ) {
693
695
expect ( testrun ) . to . be . ok ;
694
696
sinon . assert . calledOnce ( testrun . start ) ;
@@ -697,7 +699,7 @@ describe('file upload in request body', function () {
697
699
sinon . assert . callCount ( testrun . request , 1 ) ;
698
700
} ) ;
699
701
700
- it ( 'should upload the file correctly' , function ( ) {
702
+ it ( 'should upload the large file correctly' , function ( ) {
701
703
sinon . assert . calledWith ( testrun . request . getCall ( 0 ) , null ) ;
702
704
703
705
var resp = JSON . parse ( testrun . response . getCall ( 0 ) . args [ 2 ] . stream . toString ( ) ) ;
0 commit comments