aboutsummaryrefslogtreecommitdiff
path: root/test/macro/hello-fetch-macro.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'test/macro/hello-fetch-macro.tsx')
-rw-r--r--test/macro/hello-fetch-macro.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/macro/hello-fetch-macro.tsx b/test/macro/hello-fetch-macro.tsx
new file mode 100644
index 000000000..fa0de4a9d
--- /dev/null
+++ b/test/macro/hello-fetch-macro.tsx
@@ -0,0 +1,5 @@
+import { fetchSync } from "macro:./fetchSync.tsx";
+
+const synchronousFetch = fetchSync(`https://example.com`);
+
+console.log(synchronousFetch);