summaryrefslogtreecommitdiff
path: root/packages/create-astro/test/helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/create-astro/test/helpers.js')
-rw-r--r--packages/create-astro/test/helpers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/create-astro/test/helpers.js b/packages/create-astro/test/helpers.js
index 6e4445045..4f0b6ec3e 100644
--- a/packages/create-astro/test/helpers.js
+++ b/packages/create-astro/test/helpers.js
@@ -1,8 +1,8 @@
-import { execa } from 'execa';
+import { execaSync } from 'execa';
import path from 'path';
import { fileURLToPath, pathToFileURL } from 'url';
-const GITHUB_SHA = process.env.GITHUB_SHA || execa.sync('git', ['rev-parse', 'HEAD']).stdout; // process.env.GITHUB_SHA will be set in CI; if testing locally execa() will gather this
+const GITHUB_SHA = process.env.GITHUB_SHA || execaSync('git', ['rev-parse', 'HEAD']).stdout; // process.env.GITHUB_SHA will be set in CI; if testing locally execa() will gather this
const FIXTURES_DIR = path.join(fileURLToPath(path.dirname(import.meta.url)), 'fixtures');
const FIXTURES_URL = pathToFileURL(FIXTURES_DIR + '/');