(item)
| 49 | }); |
| 50 | |
| 51 | function getText(item) { |
| 52 | return Array.from(item.childNodes) |
| 53 | .filter(child => child.nodeType === 3) |
| 54 | .map(child => child.nodeValue.trim()) |
| 55 | .reduce((left, right) => left + right); |
| 56 | } |
| 57 | |
| 58 | function getGroupText(groupItem) { |
| 59 | let groupTextItem = $(groupItem).find('> .script-group > span').get(0); |
no test coverage detected