Skip to content

Commit df15852

Browse files
committed
test(acp): extend existing Antigravity capability coverage
Fold the chat and helper capability assertions into the executable-refresh scenario instead of adding another Windows-skipped shell fixture test.
1 parent 14d1bc3 commit df15852

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

‎apps/server/src/provider/Drivers/AntigravityDriver.test.ts‎

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ const layerTest = ProviderHostLive.layer.pipe(
279279

280280
it.layer(layerTest)("AntigravityDriver", (it) => {
281281
it.effect.skipIf(windowsHost)(
282-
"refreshes through the selected executable and personal Google ACP",
282+
"refreshes the selected executable and limits form capabilities to chat",
283283
() =>
284284
Effect.gen(function* () {
285285
const h = yield* makeHarness();
@@ -339,15 +339,6 @@ it.layer(layerTest)("AntigravityDriver", (it) => {
339339
.map((request) => request.params?.mcpServers),
340340
).toEqual([[], []]);
341341
yield* h.assertClosed;
342-
}).pipe(Effect.scoped),
343-
);
344-
345-
it.effect.skipIf(windowsHost)(
346-
"offers client files and form questions to chat sessions, and nothing to helpers",
347-
() =>
348-
Effect.gen(function* () {
349-
const h = yield* makeHarness();
350-
yield* h.refresh();
351342
yield* h.instance.textGeneration
352343
.generateThreadTitle({
353344
cwd: h.profileDirectory,
@@ -381,7 +372,8 @@ it.layer(layerTest)("AntigravityDriver", (it) => {
381372
.filter((request) => request.method === "initialize")
382373
.map((request) => request.params?.clientCapabilities),
383374
).toEqual([
384-
// Model refresh, then thread title generation.
375+
// Two model refreshes, then thread title generation.
376+
helper,
385377
helper,
386378
helper,
387379
{

0 commit comments

Comments
 (0)