mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed the following SonarQube code smells:
1) Do not use the Array index in keys. 2) Import from the same module should be merged. 3) Mutable variables should not be exported. 4) Variables should not be initialized to undefined. 5) startswith or endswith method should be used. 6) Unwrap this unnecessarily grouped subpattern. Additionally, addressed many other SonarQube rules.
This commit is contained in:
@@ -95,6 +95,6 @@ export const addNewDatagridRow = async (user, ctrl)=>{
|
||||
await user.click(ctrl.container.querySelector('[data-test="add-row"] button'));
|
||||
};
|
||||
|
||||
export let genericBeforeEach = ()=> {
|
||||
export const genericBeforeEach = ()=> {
|
||||
pgWindow.pgAdmin = pgAdmin;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user