We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffba50a commit cd3f085Copy full SHA for cd3f085
test/tests.test.ts
@@ -105,6 +105,10 @@ describe('build', () => {
105
beforeAll(async () => {
106
await build(getConfig(configFile))
107
server = await preview(getConfig(configFile))
108
+ // quickly timeout keep-alive to shutdown preview server faster
109
+ if ('keepAliveTimeout' in server.httpServer) {
110
+ server.httpServer.keepAliveTimeout = 1
111
+ }
112
})
113
afterAll(async () => {
114
await new Promise<void>((resolve) => {
0 commit comments