summaryrefslogtreecommitdiff
path: root/packages/integrations/cloudflare/test/function-per-route.test.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--packages/integrations/cloudflare/test/function-per-route.test.js (renamed from packages/integrations/cloudflare/test/directory-split.test.js)18
1 files changed, 3 insertions, 15 deletions
diff --git a/packages/integrations/cloudflare/test/directory-split.test.js b/packages/integrations/cloudflare/test/function-per-route.test.js
index 6e6b0bfe2..d20b0fa7c 100644
--- a/packages/integrations/cloudflare/test/directory-split.test.js
+++ b/packages/integrations/cloudflare/test/function-per-route.test.js
@@ -1,25 +1,13 @@
import { loadFixture } from './test-utils.js';
import { expect } from 'chai';
-import cloudflare from '../dist/index.js';
-/** @type {import('./test-utils').Fixture} */
-describe('Cloudflare SSR split', () => {
+/** @type {import('./test-utils.js').Fixture} */
+describe('Cloudflare SSR functionPerRoute', () => {
let fixture;
before(async () => {
fixture = await loadFixture({
- root: './fixtures/split/',
- adapter: cloudflare({ mode: 'directory' }),
- output: 'server',
- build: {
- split: true,
- excludeMiddleware: false,
- },
- vite: {
- build: {
- minify: false,
- },
- },
+ root: './fixtures/function-per-route/',
});
await fixture.build();
});