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 1a2c8f8 commit e8bb8eaCopy full SHA for e8bb8ea
test/e2e/lib/framework/serverApps/mock.ts
@@ -9,16 +9,14 @@ import { DEV_SERVER_BASE_URL } from '../../helpers/playwright'
9
10
export const LARGE_RESPONSE_MIN_BYTE_SIZE = 100_000
11
12
+interface MockServerOptions {
13
+ remoteConfiguration?: RemoteConfiguration
14
+ workerImplementation?: string
15
+}
16
export function createMockServerApp(
17
servers: Servers,
18
setup: string,
- {
- remoteConfiguration,
- workerImplementation,
- }: {
19
- remoteConfiguration?: RemoteConfiguration
20
- workerImplementation?: string
21
- } = {}
+ { remoteConfiguration, workerImplementation }: MockServerOptions = {}
22
): MockServerApp {
23
const app = express()
24
let largeResponseBytesWritten = 0
0 commit comments