File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
test/integration/api/uploader Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ const ClientRequest = require('_http_client').ClientRequest;
1010const cloudinary = require ( "../../../../cloudinary" ) ;
1111const helper = require ( "../../../spechelper" ) ;
1212const describe = require ( '../../../testUtils/suite' ) ;
13+ const cloneDeep = require ( 'lodash/cloneDeep' ) ;
1314
1415const IMAGE_FILE = helper . IMAGE_FILE ;
1516const LARGE_RAW_FILE = helper . LARGE_RAW_FILE ;
@@ -1173,7 +1174,7 @@ describe("uploader", function () {
11731174 writeSpy = void 0 ;
11741175 beforeEach ( function ( ) {
11751176 writeSpy = sinon . spy ( ClientRequest . prototype , 'write' ) ;
1176- configBck2 = cloudinary . config ( ) ;
1177+ configBck2 = cloneDeep ( cloudinary . config ( ) ) ;
11771178 cloudinary . config ( {
11781179 api_key : "1234" ,
11791180 api_secret : ""
You can’t perform that action at this time.
0 commit comments