Skip to content

Commit 9cb8324

Browse files
mchwangclaude
andcommitted
Doc: a test may sweep its own runner owner with removeLabelledObjects (#189)
Review round 31. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 716c6e3 commit 9cb8324

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/fixtures/docker-sweep.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ export function removeByName(kind: 'container' | 'network' | 'volume', name: str
4949
/**
5050
* Removes the containers, networks and volumes labelled with one runner owner, and every container that holds one of
5151
* those networks or volumes, whatever its labels (see `removeLabelledObjects`). A test file's afterAll calls it after
52-
* its other cleanup, and a test that makes objects under its own runner owner sweeps them, by owner here or by
53-
* allocation with `removeLabelledObjects`.
52+
* its other cleanup, and a test that makes objects under its own runner owner sweeps them, by owner (here, or with
53+
* `removeLabelledObjects(RUNNER_LABEL, owner)`) or by allocation with `removeLabelledObjects`.
5454
*/
5555
export function removeRunnerObjects(runnerOwner: string, when = 'afterAll'): void {
5656
removeLabelledObjects(RUNNER_LABEL, runnerOwner, when);

0 commit comments

Comments
 (0)