mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed code smell 'Unexpected empty arrow function' reported by SonarQube.
This commit is contained in:
@@ -256,8 +256,8 @@ describe('ERDCore', ()=>{
|
||||
|
||||
spyOn(erdCoreObj, 'getNewLink').and.callFake(function() {
|
||||
return {
|
||||
setSourcePort: function() {},
|
||||
setTargetPort: function() {},
|
||||
setSourcePort: function() {/*This is intentional (SonarQube)*/},
|
||||
setTargetPort: function() {/*This is intentional (SonarQube)*/},
|
||||
};
|
||||
});
|
||||
spyOn(erdCoreObj, 'getNewPort').and.returnValue({id: 'id'});
|
||||
|
||||
@@ -124,7 +124,7 @@ describe('fileSelectDialog', function () {
|
||||
};
|
||||
|
||||
spyOn(Alertify, 'fileSelectionDlg').and.callFake(function() {
|
||||
this.resizeTo = function() {};
|
||||
this.resizeTo = function() {/*This is intentional (SonarQube)*/};
|
||||
return this;
|
||||
});
|
||||
|
||||
@@ -140,7 +140,7 @@ describe('fileSelectDialog', function () {
|
||||
};
|
||||
|
||||
spyOn(Alertify, 'createModeDlg').and.callFake(function() {
|
||||
this.resizeTo = function() {};
|
||||
this.resizeTo = function() {/*This is intentional (SonarQube)*/};
|
||||
return this;
|
||||
});
|
||||
|
||||
@@ -208,7 +208,7 @@ describe('fileSelectDialog', function () {
|
||||
};
|
||||
|
||||
spyOn(Alertify, 'fileStorageDlg').and.callFake(function() {
|
||||
this.resizeTo = function() {};
|
||||
this.resizeTo = function() {/*This is intentional (SonarQube)*/};
|
||||
return this;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user