aboutsummaryrefslogtreecommitdiff
path: root/packages/db/test/fixtures/no-apptoken/src/pages/index.astro
diff options
context:
space:
mode:
Diffstat (limited to 'packages/db/test/fixtures/no-apptoken/src/pages/index.astro')
-rw-r--r--packages/db/test/fixtures/no-apptoken/src/pages/index.astro16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/db/test/fixtures/no-apptoken/src/pages/index.astro b/packages/db/test/fixtures/no-apptoken/src/pages/index.astro
new file mode 100644
index 000000000..477e18fa3
--- /dev/null
+++ b/packages/db/test/fixtures/no-apptoken/src/pages/index.astro
@@ -0,0 +1,16 @@
+---
+/// <reference path="../../.astro/db-types.d.ts" />
+import { User, db } from 'astro:db';
+
+// Just for the side-effect of running all the code
+await db.select().from(User);
+---
+
+<html>
+ <head>
+ <title>Testing</title>
+ </head>
+ <body>
+ <h1>Testing</h1>
+ </body>
+</html>