rest-vir - v1.0.0
    Preparing search index...

    Function condenseResponse

    • Condense a response into just the interesting properties for easier testing comparisons.

      Parameters

      Returns Promise<
          | {
              body: string;
              headers: Omit<
                  {},
                  | "rest-vir-service"
                  | "connection"
                  | "content-length"
                  | "date"
                  | "keep-alive",
              >;
              status: HttpStatus;
          }
          | {
              body?: undefined;
              headers: Omit<
                  {},
                  | "rest-vir-service"
                  | "connection"
                  | "content-length"
                  | "date"
                  | "keep-alive",
              >;
              status: HttpStatus;
          },
      >