diff options
author | 2021-03-26 13:14:32 -0600 | |
---|---|---|
committer | 2021-03-26 13:14:32 -0600 | |
commit | 3ddd3594f0afa613c75e7f9cf5e373a6d0269d18 (patch) | |
tree | 81dff17635f255a3df72e72748b032359986d72a /test/astro-basic.test.js | |
parent | 11637df5791863cde061c52d5c2dc1654cc3f30f (diff) | |
download | astro-3ddd3594f0afa613c75e7f9cf5e373a6d0269d18.tar.gz astro-3ddd3594f0afa613c75e7f9cf5e373a6d0269d18.tar.zst astro-3ddd3594f0afa613c75e7f9cf5e373a6d0269d18.zip |
Absorb Snowpack config inside Astro (#32)
* Absorb Snowpack config inside Astro
* Add basic README
* Format tests
* Update esbuild
* Format tests
Diffstat (limited to 'test/astro-basic.test.js')
-rw-r--r-- | test/astro-basic.test.js | 10 |
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(); |