1import * as Options from "@alchemy.run/cloudflare-test-tools/e2e/Options";
2
3export default Options.make({
4 vite: {
5 compatibilityDate: "2026-03-10",
6 compatibilityFlags: ["nodejs_als"],
7 worker: {
8 name: "fixtures-solid-spa",
9 bindings: [],
10 assets: {
11 htmlHandling: "auto-trailing-slash",
12 notFoundHandling: "single-page-application",
13 },
14 },
15 },
16 miniflare: {
17 modules: [
18 {
19 type: "ESModule",
20 path: "index.js",
21 contents: `export default { fetch: (request) => new Response("Not Found", { status: 404 }) }`,
22 },
23 ],
24 assets: {
25 routerConfig: {
26 has_user_worker: false,
27 invoke_user_worker_ahead_of_assets: false,
28 debug: true,
29 },
30 assetConfig: {
31 html_handling: "auto-trailing-slash",
32 not_found_handling: "single-page-application",
33 debug: true,
34 has_static_routing: false,
35 },
36 },
37 },
38});