summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/hmx-basic/astro/pages/index.hmx4
-rw-r--r--test/fixtures/hmx-markdown/astro/pages/index.hmx4
-rw-r--r--test/fixtures/react-component/astro/pages/index.hmx4
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 -->