我的代码有一个循环,但是执行测试时,说已经测试了一个循环
for (let inputId in todayDataDB) {
todayData.push({
elementType: 'textarea',
elementConfig: {
type: 'textarea',
inputstate: 'valid',
placeholder: 'hola',
autoFocus: true
},
section: 'today',
checked: '',
description: todayDataDB[inputId].description,
valid: true,
validation: {
required: 'false',
minLenght: 10,
maxLength: 100
},
});
}
那是我的代码