mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-07-31 08:38:30 -05:00
Fixed following code smells reported by SonarQube:
1) Remove this redundant jump. 2) Remove this commented out code. 3) Variables should not be shadowed.
This commit is contained in:
@@ -25,7 +25,6 @@ describe('ExecuteQuery', () => {
|
||||
const startTime = new Date(2018, 1, 29, 12, 15, 52);
|
||||
beforeEach(() => {
|
||||
networkMock = new MockAdapter(axios);
|
||||
// jasmine.addMatchers({jQuerytoHaveBeenCalledWith: jQuerytoHaveBeenCalledWith});
|
||||
userManagementMock = jasmine.createSpyObj('UserManagement', [
|
||||
'isPgaLoginRequired',
|
||||
'pgaLogin',
|
||||
|
||||
@@ -62,7 +62,6 @@ describe('queryToolActions', () => {
|
||||
it('calls the execute function', () => {
|
||||
queryToolActions.explainAnalyze(sqlEditorController);
|
||||
|
||||
// let explainAnalyzeQuery = 'EXPLAIN (FORMAT JSON, ANALYZE ON, VERBOSE OFF, COSTS OFF, BUFFERS OFF, TIMING OFF) ';
|
||||
const explainObject = {
|
||||
format: 'json',
|
||||
analyze: true,
|
||||
|
||||
Reference in New Issue
Block a user