Interface RunnerConfiguration

Optional configuration to customize the request builder

interface RunnerConfiguration {
    queryParser?: QueryParser;
}

Properties

Properties

queryParser?: QueryParser

An optional custom query parameter parser to pass through to the underlying request builder. This parser will be used to parse the arguments passed to the query function on the builder.

Example

const request = microtest(
'host',
{ queryParser: (params) => qs.stringify(params, { arrayFormat: 'repeat' })}
)

Generated using TypeDoc