summaryrefslogtreecommitdiff
path: root/packages/create-astro/test/external.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/create-astro/test/external.test.js')
-rw-r--r--packages/create-astro/test/external.test.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/packages/create-astro/test/external.test.js b/packages/create-astro/test/external.test.js
index 9fac8c202..be4404e53 100644
--- a/packages/create-astro/test/external.test.js
+++ b/packages/create-astro/test/external.test.js
@@ -10,12 +10,10 @@ async function run(outdir, template) {
});
}
-const testCases = [
- ['shopify', 'cassidoo/shopify-react-astro']
-];
+const testCases = [['shopify', 'cassidoo/shopify-react-astro']];
async function tests() {
- for(let [dir, tmpl] of testCases) {
+ for (let [dir, tmpl] of testCases) {
await run(dir, tmpl);
const outPath = new URL('' + dir, FIXTURES_URL);
@@ -23,7 +21,7 @@ async function tests() {
}
}
-tests().catch(err => {
+tests().catch((err) => {
console.error(err);
process.exit(1);
-}); \ No newline at end of file
+});