Interface IHttpServerTestOptions

Custom options for IHttpServer.test() method.

interface IHttpServerTestOptions {
    exitCode?: Nilable<ExitWithCodeValue>;
    exitCodeOnFail?: Nilable<ExitWithCodeValue>;
}

Properties

exitCode?: Nilable<ExitWithCodeValue>

Custom value for the exit code, which should be used if process should be exited automatically after tests run successfully.

exitCodeOnFail?: Nilable<ExitWithCodeValue>

Custom value for the exit code, which should be used if process should be exited automatically after tests run with errors.

Generated using TypeDoc