UNPKG

929 BJavaScriptView Raw
1/**
2 * Quasar App Extension prompts script
3 *
4 * Inquirer prompts
5 * (answers are available as "api.prompts" in the other scripts)
6 * https://www.npmjs.com/package/inquirer#question
7 *
8 */
9
10module.exports = function () {
11 return [
12 {
13 name: 'harnesses',
14 type: 'checkbox',
15 required: false,
16 message:
17 'Please choose which testing harnesses to install (only Qv2-compatible harnesses are shown):',
18 choices: [
19 {
20 name: 'Jest Unit Testing (Webpack only, beta)',
21 value: 'unit-jest@beta',
22 },
23 {
24 name: 'Vitest Unit Testing (Vite only, alpha)',
25 value: 'unit-vitest@alpha',
26 },
27 {
28 name: 'Cypress 9 e2e and component testing',
29 value: 'e2e-cypress',
30 },
31 {
32 name: 'Cypress 11 e2e and component testing (beta)',
33 value: 'e2e-cypress@beta',
34 },
35 ],
36 },
37 ];
38};