diff options
Diffstat (limited to 'test/astro-expr.test.js')
-rw-r--r-- | test/astro-expr.test.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/astro-expr.test.js b/test/astro-expr.test.js index ea461af4b..c3c985712 100644 --- a/test/astro-expr.test.js +++ b/test/astro-expr.test.js @@ -53,4 +53,11 @@ Expressions('Ignores characters inside of multiline comments', async ({ runtime } }); +Expressions('Allows multiple JSX children in mustache', async ({ runtime }) => { + const result = await runtime.load('/multiple-children'); + assert.equal(result.statusCode, 200); + + assert.ok(result.contents.includes('#f') && !result.contents.includes('#t')); +}); + Expressions.run(); |