( path: typeof windows | typeof posix, testCases: ParseTestCase[], )
| 115 | } |
| 116 | |
| 117 | function checkSpecialCaseParseFormat( |
| 118 | path: typeof windows | typeof posix, |
| 119 | testCases: ParseTestCase[], |
| 120 | ) { |
| 121 | testCases.forEach(([element, expect]) => { |
| 122 | assertEquals(path.parse(element), expect); |
| 123 | }); |
| 124 | } |
| 125 | |
| 126 | function checkFormat( |
| 127 | path: typeof windows | typeof posix, |
no test coverage detected