(fileDialog)
| 50 | } |
| 51 | |
| 52 | function getDisplayedFileNames(fileDialog) { |
| 53 | const fileElements = getFileElements(fileDialog); |
| 54 | return fileElements.map(getFileElementName); |
| 55 | } |
| 56 | |
| 57 | function findFileElement(filename, fileDialog) { |
| 58 | return getFileElements(fileDialog).find(element => (getFileElementName(element) === filename)); |
no test coverage detected