From 19e37f955e77abdc94227b53c507560b6099ca07 Mon Sep 17 00:00:00 2001 From: Tim Neutkens Date: Mon, 21 Feb 2022 13:59:30 +0100 Subject: [PATCH] Clarify test types during scaffolding --- plopfile.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/plopfile.js b/plopfile.js index 2dc8b7e619e0..44cbe6eec120 100644 --- a/plopfile.js +++ b/plopfile.js @@ -15,7 +15,18 @@ module.exports = function (plop) { type: 'list', name: 'type', message: 'Test type', - choices: ['e2e', 'unit', 'production', 'development'], + choices: [ + { + name: 'e2e - Test "next dev" and "next build && next start"', + value: 'e2e', + }, + { + name: 'production - Test "next build && next start"', + value: 'production', + }, + { name: 'development - Test "next dev"', value: 'development' }, + { name: 'unit - Test individual files', value: 'unit' }, + ], }, ], actions: function (data) {