summaryrefslogtreecommitdiff
path: root/packages/create-astro/test/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/create-astro/test/utils.js')
-rw-r--r--packages/create-astro/test/utils.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/create-astro/test/utils.js b/packages/create-astro/test/utils.js
index 70ad32210..964ae6a20 100644
--- a/packages/create-astro/test/utils.js
+++ b/packages/create-astro/test/utils.js
@@ -29,10 +29,11 @@ export const PROMPT_MESSAGES = {
install: (pkgManager) => `Would you like us to run "${pkgManager} install?"`,
astroAdd: (astroAddCommand = 'npx astro@latest add --yes') =>
`Run "${astroAddCommand}?" This lets you optionally add component frameworks (ex. React), CSS frameworks (ex. Tailwind), and more.`,
+ git: 'Initialize a git repository?',
};
export function setup(args = []) {
- const { stdout, stdin } = execa('../create-astro.mjs', args, { cwd: testDir });
+ const { stdout, stdin } = execa('../create-astro.mjs', [...args, '--dryrun'], { cwd: testDir });
return {
stdin,
stdout,