mirror of
https://github.com/callstack/agent-device.git
synced 2026-09-14 20:06:34 +08:00
test(apple): keep runner-client.test.ts at its merge-base length
Collapse the addEventListener options object in waitForAbort onto one line so the new createRunnerPhaseBudget import doesn't push the file past its merge-base line count.
This commit is contained in:
@@ -1074,9 +1074,7 @@ test('ensureXctestrunArtifact aborts only the disconnected request build and pre
|
||||
signal.aborted
|
||||
? Promise.resolve()
|
||||
: new Promise<void>((resolve) =>
|
||||
signal.addEventListener('abort', () => resolve(), {
|
||||
once: true,
|
||||
}),
|
||||
signal.addEventListener('abort', () => resolve(), { once: true }),
|
||||
);
|
||||
const canceledBuildStarted = deferred<void>();
|
||||
const survivorBuildStarted = deferred<void>();
|
||||
|
||||
Reference in New Issue
Block a user