packages/test-utils/mocks/element-mock.js
Showing 1 of 1 total issue
Function element
has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring. Open
Open
function element(name, rect = { x: 0, y: 0, width: 100, height: 100 }) { const e = { name, attributes: {}, style: {},
- Read upRead up