summaryrefslogtreecommitdiff
path: root/test/astro-basic.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/astro-basic.test.js')
-rw-r--r--test/astro-basic.test.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/astro-basic.test.js b/test/astro-basic.test.js
index 1bc3cd47b..79b71cfa7 100644
--- a/test/astro-basic.test.js
+++ b/test/astro-basic.test.js
@@ -11,19 +11,19 @@ Basics.before(async () => {
const astroConfig = {
projectRoot: new URL('./fixtures/astro-basic/', import.meta.url),
hmxRoot: new URL('./fixtures/astro-basic/astro/', import.meta.url),
- dist: './_site'
+ dist: './_site',
};
-
+
const logging = {
level: 'error',
- dest: process.stderr
+ dest: process.stderr,
};
runtime = await createRuntime(astroConfig, logging);
});
Basics.after(async () => {
- await runtime && runtime.shutdown();
+ (await runtime) && runtime.shutdown();
});
Basics('Can load page', async () => {
@@ -35,4 +35,4 @@ Basics('Can load page', async () => {
assert.equal($('h1').text(), 'Hello world!');
});
-Basics.run(); \ No newline at end of file
+Basics.run();