style: apply biome formatting to merged changes

This commit is contained in:
can1357
2026-07-30 01:28:07 +02:00
parent 038d8372d7
commit 091f670ea0
15 changed files with 439 additions and 434 deletions
@@ -97,19 +97,22 @@ describe("task async preflight", () => {
spawns: "scout",
expectation: "Cannot spawn 'task'",
},
])(
"returns $name policy errors before registering an async job",
async ({ name, params, settings, spawns, expectation }) => {
mockDiscovery();
const jobs = manager();
const tool = await TaskTool.create(createSession({ manager: jobs, settings, spawns }));
])("returns $name policy errors before registering an async job", async ({
name,
params,
settings,
spawns,
expectation,
}) => {
mockDiscovery();
const jobs = manager();
const tool = await TaskTool.create(createSession({ manager: jobs, settings, spawns }));
const result = await tool.execute("preflight", params as TaskParams);
const result = await tool.execute("preflight", params as TaskParams);
expect(textOf(result)).toContain(expectation);
expect(jobs.getJob(name)).toBeUndefined();
},
);
expect(textOf(result)).toContain(expectation);
expect(jobs.getJob(name)).toBeUndefined();
});
it("rejects an invalid async batch atomically before dispatching any item", async () => {
mockDiscovery();