test: remove 49 low-value test declarations (#37856)

This commit is contained in:
OrcaWin
2026-11-03 09:25:28 -08:00
committed by GitHub
parent e7542a3ca1
commit 39d02ae0bc
33 changed files with 9 additions and 898 deletions
@@ -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) => {