t3-code-android-nightly/.repos/alchemy-effect/packages/frontend-frameworks/fixtures/vocs/e2e.config.ts
Julius Marminge e3c85ead63
chore(refs): sync Effect and Alchemy references to rc.115 and beta.78 (#12327)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-09-17 23:21:25 -07:00

50 lines
1.4 KiB
TypeScript

import * as Options from "@alchemy.run/cloudflare-test-tools/e2e/Options";
import vocsFramework from "@alchemy.run/frontend-frameworks/vocs";
import cloudflare from "@alchemy.run/frontend-frameworks/vocs/cloudflare";
export default Options.make({
target: {
cloudflare: {
worker: {
// `main` and `viteEnvironments` are pinned by the waku cloudflare
// target (waku's rsc entry + the rsc/ssr topology) — only worker
// config here.
compatibilityDate: "2026-03-10",
compatibilityFlags: ["nodejs_compat"],
worker: {
name: "fixtures-vocs",
bindings: [],
assets: {
htmlHandling: "drop-trailing-slash",
notFoundHandling: "none",
},
},
},
preview: {
compatibilityDate: "2026-03-10",
compatibilityFlags: ["nodejs_compat"],
assets: {
routerConfig: {
has_user_worker: true,
invoke_user_worker_ahead_of_assets: false,
debug: true,
},
assetConfig: {
html_handling: "drop-trailing-slash",
not_found_handling: "none",
debug: true,
has_static_routing: false,
},
},
},
},
},
framework: (options) =>
vocsFramework({
root: options.root,
port: 3105,
target: cloudflare({
worker: Options.resolveCloudflareOptions(options).worker,
}),
}),
});