diff options
author | 2021-03-23 20:15:44 -0700 | |
---|---|---|
committer | 2021-03-23 20:15:44 -0700 | |
commit | 195b131f430536a33db244267d35b614bb014d60 (patch) | |
tree | 71875329f236481cbe8920010448bc884cc87865 /test | |
parent | 5492a2dc4e26a6fbcbb99b24e16045522c8e316a (diff) | |
download | astro-195b131f430536a33db244267d35b614bb014d60.tar.gz astro-195b131f430536a33db244267d35b614bb014d60.tar.zst astro-195b131f430536a33db244267d35b614bb014d60.zip |
add support for frontmatter scripts
Diffstat (limited to 'test')
-rw-r--r-- | test/fixtures/hmx-basic/astro/pages/index.hmx | 4 | ||||
-rw-r--r-- | test/fixtures/hmx-markdown/astro/pages/index.hmx | 4 | ||||
-rw-r--r-- | test/fixtures/react-component/astro/pages/index.hmx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/test/fixtures/hmx-basic/astro/pages/index.hmx b/test/fixtures/hmx-basic/astro/pages/index.hmx index 19f888e04..d4f6fc5a1 100644 --- a/test/fixtures/hmx-basic/astro/pages/index.hmx +++ b/test/fixtures/hmx-basic/astro/pages/index.hmx @@ -1,10 +1,10 @@ -<script astro> +--- export function setup() { return { props: {} } } -</script> +--- <astro:head> <!-- Head Stuff --> diff --git a/test/fixtures/hmx-markdown/astro/pages/index.hmx b/test/fixtures/hmx-markdown/astro/pages/index.hmx index 19f888e04..d4f6fc5a1 100644 --- a/test/fixtures/hmx-markdown/astro/pages/index.hmx +++ b/test/fixtures/hmx-markdown/astro/pages/index.hmx @@ -1,10 +1,10 @@ -<script astro> +--- export function setup() { return { props: {} } } -</script> +--- <astro:head> <!-- Head Stuff --> diff --git a/test/fixtures/react-component/astro/pages/index.hmx b/test/fixtures/react-component/astro/pages/index.hmx index 8616754ca..5debf6380 100644 --- a/test/fixtures/react-component/astro/pages/index.hmx +++ b/test/fixtures/react-component/astro/pages/index.hmx @@ -1,6 +1,6 @@ -<script astro> +--- import Hello from '../components/Hello.jsx'; -</script> +--- <astro:head> <!-- Head Stuff --> |