Skip to content

Commit

Permalink
fix: typo in needsE2eTesting choices params (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
agungroyat committed Oct 24, 2022
1 parent f117f77 commit a1405c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit a1405c8

Please sign in to comment.