mirror of
https://github.com/stablyai/orca.git
synced 2026-11-01 09:37:33 +00:00
test: remove duplicate POSIX missing-artifact install probe (#29470)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
@@ -178,22 +178,6 @@ describe('ssh remote command builders', () => {
|
||||
}
|
||||
})
|
||||
|
||||
it.skipIf(process.platform === 'win32')(
|
||||
'rejects a POSIX install missing one artifact',
|
||||
async () => {
|
||||
const { dir, artifact } = stageOrcadInstall(posix)
|
||||
const probe = (): string => probeOrcadInstalledCommand(posix, dir)
|
||||
try {
|
||||
expect((await runShellCommand(probe())).trim()).toBe('OK')
|
||||
|
||||
rmSync(join(dir, artifact))
|
||||
expect((await runShellCommand(probe())).trim()).toBe('MISSING')
|
||||
} finally {
|
||||
rmSync(dir, { recursive: true, force: true })
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
it('uses encoded PowerShell for Windows deploy commands', () => {
|
||||
expect(readRemoteHomeCommand(windows)).toContain('powershell.exe')
|
||||
expect(removeRemoteTreeCommand(windows, 'C:/Users/me/.orca-remote/x')).toContain(
|
||||
|
||||
Reference in New Issue
Block a user