summaryrefslogtreecommitdiff
path: root/packages/db/test
diff options
context:
space:
mode:
Diffstat (limited to 'packages/db/test')
-rw-r--r--packages/db/test/fixtures/ticketing-example/package.json3
-rw-r--r--packages/db/test/fixtures/ticketing-example/src/layouts/Layout.astro4
-rw-r--r--packages/db/test/fixtures/ticketing-example/tsconfig.json4
-rw-r--r--packages/db/test/local-prod.test.js2
4 files changed, 7 insertions, 6 deletions
diff --git a/packages/db/test/fixtures/ticketing-example/package.json b/packages/db/test/fixtures/ticketing-example/package.json
index 7883d3b7c..765d46e2c 100644
--- a/packages/db/test/fixtures/ticketing-example/package.json
+++ b/packages/db/test/fixtures/ticketing-example/package.json
@@ -4,7 +4,6 @@
"version": "0.0.1",
"scripts": {
"dev": "pnpm astro dev",
- "start": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro"
@@ -13,7 +12,7 @@
"@astrojs/check": "^0.9.4",
"@astrojs/db": "workspace:*",
"@astrojs/node": "^8.3.4",
- "@astrojs/react": "^3.6.3",
+ "@astrojs/react": "workspace:*",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"astro": "workspace:*",
diff --git a/packages/db/test/fixtures/ticketing-example/src/layouts/Layout.astro b/packages/db/test/fixtures/ticketing-example/src/layouts/Layout.astro
index 114216824..482f10462 100644
--- a/packages/db/test/fixtures/ticketing-example/src/layouts/Layout.astro
+++ b/packages/db/test/fixtures/ticketing-example/src/layouts/Layout.astro
@@ -1,5 +1,5 @@
---
-import { ViewTransitions } from 'astro:transitions';
+import { ClientRouter } from 'astro:transitions';
import 'open-props/normalize';
import 'open-props/style';
@@ -19,7 +19,7 @@ const { title } = Astro.props;
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
- <ViewTransitions handleForms />
+ <ClientRouter handleForms />
</head>
<body>
<slot />
diff --git a/packages/db/test/fixtures/ticketing-example/tsconfig.json b/packages/db/test/fixtures/ticketing-example/tsconfig.json
index b7243b92c..2424dae7d 100644
--- a/packages/db/test/fixtures/ticketing-example/tsconfig.json
+++ b/packages/db/test/fixtures/ticketing-example/tsconfig.json
@@ -3,5 +3,7 @@
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react"
- }
+ },
+ "include": [".astro/types.d.ts", "**/*"],
+ "exclude": ["dist"]
}
diff --git a/packages/db/test/local-prod.test.js b/packages/db/test/local-prod.test.js
index 6513aeb08..9bd56dad0 100644
--- a/packages/db/test/local-prod.test.js
+++ b/packages/db/test/local-prod.test.js
@@ -71,7 +71,7 @@ describe('astro:db local database', () => {
it('should throw during the build for hybrid output', async () => {
let fixture2 = await loadFixture({
root: new URL('./fixtures/local-prod/', import.meta.url),
- output: 'hybrid',
+ output: 'static',
adapter: testAdapter(),
});