summaryrefslogtreecommitdiff
path: root/test/helpers.js
diff options
context:
space:
mode:
authorGravatar Kevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com> 2021-04-22 12:10:06 -0700
committerGravatar GitHub <noreply@github.com> 2021-04-22 15:10:06 -0400
commit5eb232501f8f02236e52cf945b7fa3ce5a2ec260 (patch)
treea2abbdec0c191d8ded6534b0e8a8cb05d4db5ec4 /test/helpers.js
parentf5384b139d7bb2b8a748dd4a344c1e91d850c76e (diff)
downloadastro-5eb232501f8f02236e52cf945b7fa3ce5a2ec260.tar.gz
astro-5eb232501f8f02236e52cf945b7fa3ce5a2ec260.tar.zst
astro-5eb232501f8f02236e52cf945b7fa3ce5a2ec260.zip
Allow multiple JSX children appear in Mustache tag (#125)
* fix(www): link styles (#100) Co-authored-by: Nate Moore <nate@skypack.dev> * Add `assets/` (#102) * chore: add assets * docs: update readme Co-authored-by: Nate Moore <nate@skypack.dev> * docs: fix readme * docs: fix readme * chore: remove github banner * Allow multiple JSX in mustache * Manually discard package-lock update (due to local use of npm v7) * Tidy up * Revert mode ts-ignore Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> Co-authored-by: Nate Moore <nate@skypack.dev>
Diffstat (limited to 'test/helpers.js')
-rw-r--r--test/helpers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/helpers.js b/test/helpers.js
index eb7cabb0b..b14005563 100644
--- a/test/helpers.js
+++ b/test/helpers.js
@@ -28,8 +28,8 @@ export function setup(Suite, fixturePath) {
context.runtime = runtime;
context.readFile = async (path) => {
const resolved = fileURLToPath(new URL(`${fixturePath}${path}`, import.meta.url));
- return readFile(resolved).then(r => r.toString('utf-8'));
- }
+ return readFile(resolved).then((r) => r.toString('utf-8'));
+ };
});
Suite.after(async () => {