aboutsummaryrefslogtreecommitdiff
path: root/test/macro/fetchSync.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'test/macro/fetchSync.tsx')
-rw-r--r--test/macro/fetchSync.tsx9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/macro/fetchSync.tsx b/test/macro/fetchSync.tsx
deleted file mode 100644
index 51d1ca4f5..000000000
--- a/test/macro/fetchSync.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-// @ts-nocheck
-export async function fetchSync(ctx) {
- const str = ctx.arguments[0].toString();
-
- const response = await fetch(str);
- const text = await response.text();
-
- return <string value={text} />;
-}