(groupName)
| 73 | } |
| 74 | |
| 75 | function findGroupItem(groupName) { |
| 76 | let foundGroups = $(listComponent.vm.$el) |
| 77 | .find('.script-list-group') |
| 78 | .has('.script-group > span:contains("' + groupName + '")') |
| 79 | .toArray() |
| 80 | |
| 81 | expect(foundGroups).toBeArrayOfSize(1) |
| 82 | return foundGroups[0]; |
| 83 | } |
| 84 | |
| 85 | function assertGroupItems(groupName, expectedTexts) { |
| 86 | let foundGroup = findGroupItem(groupName); |
no outgoing calls
no test coverage detected