(to: string, before: string[] = [])
| 279 | }, 120_000); |
| 280 | |
| 281 | const unpack = (to: string, before: string[] = []) => |
| 282 | [...before, `Expand-Archive -Path ${psq(zip)} -DestinationPath ${psq(to)} -Force`, `[Console]::Out.Write((Get-Command Expand-Archive).Module.Version.ToString())`].join('\n'); |
| 283 | |
| 284 | it('the stand-in fails as PowerShell 7’s module does: the inherited path alone breaks unpacking', async () => { |
| 285 | const r = await powershell(unpack(path.join(dir, 'out-inherited')), poisoned); |
no test coverage detected