Skip to content

Commit 794f82a

Browse files
refactor: cleanup
1 parent d50ce12 commit 794f82a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/commands/agent/generate/test-spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,8 @@ async function promptForTestCase(genAiPlugins: Record<string, string>, genAiFunc
7878
await checkbox<string | null>({
7979
message: 'Expected action(s)',
8080
choices: [
81-
...actions.map((a) => ({ name: a, value: a })),
82-
...genAiFunctions.map((f) => ({ name: f, value: f })),
8381
{ name: 'No Actions', value: null },
82+
...actions.concat(genAiFunctions).map((a) => ({ name: a, value: a })),
8483
],
8584
theme,
8685
validate: (choices) => {

0 commit comments

Comments
 (0)