mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 02:17:31 +00:00
test: remove 49 low-value test declarations (#37856)
This commit is contained in:
@@ -84,16 +84,6 @@ describe('Git command tree termination', () => {
|
||||
await pending
|
||||
expect(child.kill).not.toHaveBeenCalled()
|
||||
})
|
||||
|
||||
it('preserves handle termination on POSIX', async () => {
|
||||
Object.defineProperty(process, 'platform', { value: 'linux', configurable: true })
|
||||
const child = childWithPid(1234)
|
||||
|
||||
await killSpawnedCommandTree(child)
|
||||
|
||||
expect(child.kill).toHaveBeenCalledOnce()
|
||||
expect(spawnMock).not.toHaveBeenCalled()
|
||||
})
|
||||
it.skipIf(originalPlatform !== 'win32').each([0, 128])(
|
||||
'does not taskkill an actual native Windows child after exit %i',
|
||||
async (exitCode) => {
|
||||
|
||||
Reference in New Issue
Block a user