chore: Add eslint-unicorn & fix

This commit is contained in:
Sidharth Vinod
2022-11-23 01:05:08 +05:30
parent 8116c8b40d
commit 7f4368415d
60 changed files with 494 additions and 539 deletions

View File

@@ -326,7 +326,7 @@ describe('Gantt diagram', () => {
);
cy.get('svg').should((svg) => {
const el = svg.get(0);
const children = Array.from(el.children);
const children = [...el.children];
const titleEl = children.find(function (node) {
return node.tagName === 'title';