From a1405c8835751676063f0a330d96ab368839b173 Mon Sep 17 00:00:00 2001 From: Agung Royat Date: Mon, 24 Oct 2022 15:36:30 +0700 Subject: [PATCH] fix: typo in `needsE2eTesting` `choices` params (#184) --- index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index 9b115e63..e6f1df9a 100755 --- a/index.ts +++ b/index.ts @@ -209,11 +209,11 @@ async function init() { type: () => (isFeatureFlagsUsed ? null : 'select'), message: 'Add an End-to-End Testing Solution?', initial: 0, - choices: (prev, anwsers) => [ + choices: (prev, answers) => [ { title: 'No', value: false }, { title: 'Cypress', - description: anwsers.needsVitest + description: answers.needsVitest ? undefined : 'also supports unit testing with Cypress Component Testing', value: 'cypress' -- 2.39.5