Skip to content

Commit 7ebf7f1

Browse files
committed
chore: add mode: form
1 parent 52b5c39 commit 7ebf7f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integration/tools/mongodb/delete/dropIndex.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ describe.each([{ vectorSearchEnabled: false }, { vectorSearchEnabled: true }])(
291291
message: expect.stringContaining(
292292
"You are about to drop the index named `year_1` from the `mflix.movies` namespace"
293293
),
294+
mode: "form",
294295
requestedSchema: Elicitation.CONFIRMATION_SCHEMA,
295296
});
296297
expect(await getMoviesCollection().listIndexes().toArray()).toHaveLength(1);
@@ -316,6 +317,7 @@ describe.each([{ vectorSearchEnabled: false }, { vectorSearchEnabled: true }])(
316317
message: expect.stringContaining(
317318
"You are about to drop the index named `year_1` from the `mflix.movies` namespace"
318319
),
320+
mode: "form",
319321
requestedSchema: Elicitation.CONFIRMATION_SCHEMA,
320322
});
321323
expect(await getMoviesCollection().listIndexes().toArray()).toHaveLength(2);

0 commit comments

Comments
 (0)