(file)
| 159 | shell.config.globOptions = { absolute: true }; |
| 160 | const result = common.expand(['test/resources/*a*']); |
| 161 | function abs(file) { |
| 162 | // Normalize to posix-style path separators on all platforms. |
| 163 | const CWD = process.platform === 'win32' ? |
| 164 | process.cwd().replace(/\\/g, '/') : |
| 165 | process.cwd(); |
| 166 | return path.posix.join(CWD, file); |
| 167 | } |
| 168 | const expected = [ |
| 169 | abs('test/resources/a.txt'), |
| 170 | abs('test/resources/badlink'), |