Skip to content

Commit c3b92c4

Browse files
author
Prashant Shubham
committed
Updated CHANGELOG.yaml and fixed browser integration test failure
1 parent 1fcd39a commit c3b92c4

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CHANGELOG.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
master:
2+
date: 2020-10-05
3+
chores:
4+
- Added integration test for large file upload
5+
16
7.26.6:
27
date: 2020-09-16
38
chores:

test/integration/file-uploads/request-body.test.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -650,13 +650,14 @@ describe('file upload in request body', function () {
650650
});
651651
});
652652

653-
describe('should upload large files correctly', function () {
653+
(IS_BROWSER ? describe.skip : describe)('should upload large files correctly', function () {
654654
var testUploadFile = 'test/fixtures/upload-file-large.json';
655655

656656
afterEach(function () {
657657
sh.rm('-rf', testUploadFile);
658658
});
659659

660+
// eslint-disable-next-line mocha/no-sibling-hooks
660661
before(function (done) {
661662
this.enableTimeouts(false);
662663
if (IS_DARWIN) {
@@ -689,6 +690,7 @@ describe('file upload in request body', function () {
689690
});
690691
});
691692

693+
// eslint-disable-next-line mocha/no-identical-title
692694
it('should complete the run', function () {
693695
expect(testrun).to.be.ok;
694696
sinon.assert.calledOnce(testrun.start);
@@ -697,7 +699,7 @@ describe('file upload in request body', function () {
697699
sinon.assert.callCount(testrun.request, 1);
698700
});
699701

700-
it('should upload the file correctly', function () {
702+
it('should upload the large file correctly', function () {
701703
sinon.assert.calledWith(testrun.request.getCall(0), null);
702704

703705
var resp = JSON.parse(testrun.response.getCall(0).args[2].stream.toString());

0 commit comments

Comments
 (0)