aboutsummaryrefslogtreecommitdiff
path: root/packages/create-astro/test/create-astro.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/create-astro/test/create-astro.test.js')
-rw-r--r--packages/create-astro/test/create-astro.test.js14
1 files changed, 10 insertions, 4 deletions
diff --git a/packages/create-astro/test/create-astro.test.js b/packages/create-astro/test/create-astro.test.js
index 15e1991f1..86a64e1f5 100644
--- a/packages/create-astro/test/create-astro.test.js
+++ b/packages/create-astro/test/create-astro.test.js
@@ -108,11 +108,17 @@ async function testAll() {
await Promise.all(
TEMPLATES.map(async ({ value: template }) => {
// setup: `npm init astro`
- await execa('../../create-astro.mjs', [template, '--template', template, '--commit', GITHUB_SHA, '--force-overwrite'], {
- cwd: FIXTURES_DIR,
- });
+ await execa(
+ '../../create-astro.mjs',
+ [template, '--template', template, '--commit', GITHUB_SHA, '--force-overwrite'],
+ {
+ cwd: FIXTURES_DIR,
+ }
+ );
// setup: `pnpm install` (note: running multiple `pnpm`s in parallel in CI will conflict)
- await execa('pnpm', ['install', '--no-package-lock', '--silent'], { cwd: path.join(FIXTURES_DIR, template) });
+ await execa('pnpm', ['install', '--no-package-lock', '--silent'], {
+ cwd: path.join(FIXTURES_DIR, template),
+ });
})
);