From 468c4753591f231510b076976269dcae3d6bf13c Mon Sep 17 00:00:00 2001
From: Jarred Sumner <jarred@jarredsumner.com>
Date: Fri, 17 Sep 2021 15:15:43 -0700
Subject: Add test for tsx/ts fallback imports

---
 integration/snippets/tsx-fallback-rewrite-works.tsx | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 integration/snippets/tsx-fallback-rewrite-works.tsx

(limited to 'integration/snippets/tsx-fallback-rewrite-works.tsx')

diff --git a/integration/snippets/tsx-fallback-rewrite-works.tsx b/integration/snippets/tsx-fallback-rewrite-works.tsx
new file mode 100644
index 000000000..b18619914
--- /dev/null
+++ b/integration/snippets/tsx-fallback-rewrite-works.tsx
@@ -0,0 +1,5 @@
+// This looks like it does nothing
+// But if you import /tsx-fallback-rewrite-works.js, it should resolve the import to /tsx-fallback-rewrite-works.tsx
+export function test() {
+  return testDone(import.meta.url);
+}
-- 
cgit v1.2.3

