From: Agung Royat Date: Mon, 24 Oct 2022 08:36:30 +0000 (+0700) Subject: fix: typo in `needsE2eTesting` `choices` params (#184) X-Git-Tag: v3.4.1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1405c8835751676063f0a330d96ab368839b173;p=thirdparty%2Fvuejs%2Fcreate-vue.git fix: typo in `needsE2eTesting` `choices` params (#184) --- 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'