fix(subagent-acp): use supported skipIf signature
This commit is contained in:
parent
2abd486f8f
commit
637e029365
1 changed files with 3 additions and 12 deletions
|
|
@ -589,10 +589,7 @@ describe('dsh-subagent-acp', () => {
|
|||
)
|
||||
})
|
||||
|
||||
it.skipIf(
|
||||
process.platform === 'win32',
|
||||
'Windows anonymous pipes do not surface a child stdout half-close while the child stays alive',
|
||||
)('reports initialize-stage transport when the child closes the protocol but stays alive', async () => {
|
||||
it.skipIf(process.platform === 'win32')('reports initialize-stage transport when the child closes the protocol but stays alive', async () => {
|
||||
const error = await startAcpRun(request(), {
|
||||
command: process.execPath,
|
||||
args: [mockServer],
|
||||
|
|
@ -939,10 +936,7 @@ describe('dsh-subagent-acp', () => {
|
|||
await run.dispose()
|
||||
})
|
||||
|
||||
it.skipIf(
|
||||
process.platform === 'win32',
|
||||
'Windows anonymous pipes do not surface a child stdout half-close while the child stays alive',
|
||||
)('classifies a prompt transport failure without copying SDK text', async () => {
|
||||
it.skipIf(process.platform === 'win32')('classifies a prompt transport failure without copying SDK text', async () => {
|
||||
const run = await startAcpRun(request('private prompt text'), {
|
||||
command: process.execPath,
|
||||
args: [mockServer],
|
||||
|
|
@ -963,10 +957,7 @@ describe('dsh-subagent-acp', () => {
|
|||
await run.dispose()
|
||||
})
|
||||
|
||||
it.skipIf(
|
||||
process.platform === 'win32',
|
||||
'Windows anonymous pipes do not surface a child stdout half-close while the child stays alive',
|
||||
)('lets local cancellation interrupt prompt-failure process observation', async () => {
|
||||
it.skipIf(process.platform === 'win32')('lets local cancellation interrupt prompt-failure process observation', async () => {
|
||||
const controller = new AbortController()
|
||||
const protocolEnded = Promise.withResolvers<undefined>()
|
||||
let boundedExitWaits = 0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue