# Function getOverriddenMock

- getOverriddenMock(overriddenStep, serverResponse?): Promise<VerificationResponse>

- Based on page request query params, return a fake response to allow direct access to any step.

  #### Parameters

  - overriddenStep: MockStep
  - `Optional` serverResponse: VerificationResponse

    The actual serverResponse to acquire certain pieces of info from.

  #### Returns Promise<VerificationResponse>

  - Defined in jslib/src/lib/ServerApi/TestingRouteOverrides.ts:198