Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 2c3311f

Browse files
chore: fix typo in choiceNames variable name (#557)
1 parent a014e6b commit 2c3311f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/create-nuxt-app/test/index.test.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ test('verify default answers', async (t) => {
4646
for (const prompt of saoConfig.prompts) {
4747
if (Array.isArray(prompt.choices)) {
4848
if (prompt.type === 'checkbox') {
49-
const choioceNames = prompt.choices.map(choice => choice.name)
50-
const choioceValues = prompt.choices.map(choice => choice.value)
51-
test(`verify ${prompt.name}: ${choioceNames.join(', ')}`, async (t) => {
52-
const answers = { [prompt.name]: choioceValues }
49+
const choiceNames = prompt.choices.map(choice => choice.name)
50+
const choiceValues = prompt.choices.map(choice => choice.value)
51+
test(`verify ${prompt.name}: ${choiceNames.join(', ')}`, async (t) => {
52+
const answers = { [prompt.name]: choiceValues }
5353
await verifyAnswers(t, answers)
5454
})
5555
}

0 commit comments

Comments
 (0)