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.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/packages/create-astro/test/helpers.js b/packages/create-astro/test/helpers.js
deleted file mode 100644
index 4f0b6ec3e..000000000
--- a/packages/create-astro/test/helpers.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import { execaSync } from 'execa';
-import path from 'path';
-import { fileURLToPath, pathToFileURL } from 'url';
-
-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 + '/');
-
-export { GITHUB_SHA, FIXTURES_DIR, FIXTURES_URL };