Skip to content

Commit 5111dec

Browse files
fix: try to fix manual pages test
1 parent 892bd79 commit 5111dec

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/integrations/cloudflare/test/manual-pages-support.test.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
11
import * as assert from 'node:assert/strict';
22
import { existsSync } from 'node:fs';
3-
import { after, before, describe, it } from 'node:test';
3+
import { before, describe, it } from 'node:test';
44
import { fileURLToPath } from 'node:url';
55
import { loadFixture } from './_test-utils.js';
66

77
describe('Custom entry file', () => {
88
let fixture;
9-
let previewServer;
109
const root = new URL('./fixtures/manual-pages-support/', import.meta.url);
1110

1211
before(async () => {
1312
fixture = await loadFixture({
1413
root: './fixtures/manual-pages-support/',
1514
});
1615
await fixture.build();
17-
previewServer = await fixture.preview();
18-
});
19-
20-
after(async () => {
21-
await previewServer.stop();
2216
});
2317

2418
it('has `_worker.js/index.js` file for SSR', async () => {

0 commit comments

Comments
 (0)