You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d055691
Browse filesBrowse the repository at this point in the historyBrowse files
test(apple-runner): one device-set redirect double for the session tests
The size ratchet refused this PR's six-line growth in `runner-session.test.ts`, which is 1,955 lines at
the merge-base and already over the tripwire, and its own remedy is the right one here: the handle the
launch hands the session was being fabricated four times over, twice in that file alone, with a
per-file spy that each file then counted calls on. It now lives once in `runner-session-fixtures.ts`,
the module this test family already shares, and the family is five lines shorter than it was.
One spy answers both give-backs on purpose. The session-level tests ask whether the host's device set
came back when a launch failed or a session was disposed; which of the two doors it came back through
is the thing this PR changed, and that is pinned where the handle is made, in
`runner-device-set.test.ts`, where each door is a separate test.
0 commit comments