src/lib/components/PageGrid/templates/ButtonDialog/ButtonDialog.test.js
Function setup
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function setup() {
const props = {
_editable: '<!--#storyblok#{"name": "ButtonDialog", "space": "48408", "uid": "947be9f0-47c3-4315-a95a-550f0c560eb5", "id": "307934"}-->',
button: [{
_editable: '<!--#storyblok#{"name": "Button", "space": "48408", "uid": "947be9f0-47c3-4315-a95a-550f0c560eb5", "id": "307934"}-->',