For AI agents: visit https://maddox.readme.io/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.
Jump to Content
MaddoxWhat Is MaddoxAPI DocsDiscussions
HomeWhat Is MaddoxAPI DocsChangelogDiscussions
What Is MaddoxAPI DocsDiscussionsLog InMaddox
API Docs
Log In

Scenarios

  • What Are Scenarios?
  • HttpRequestScenario
  • FromCallbackScenario
  • FromPromiseScenario
  • FromSynchronousScenario

Constants

  • IgnoreParam
  • EmptyResult
  • EmptyParameters

API

  • mockThisFunction
  • withEntryPoint
  • withInputParams
  • withTestFinisherFunction
  • shouldBeCalledWith
  • shouldAlwaysBeCalledWith
  • shouldAlwaysBeIgnored
  • doesReturn
  • doesAlwaysReturn
  • doesReturnWithPromise
  • doesAlwaysReturnWithPromise
  • doesReturnWithCallback
  • doesAlwaysReturnWithCallback
  • doesError
  • doesErrorWithPromise
  • doesErrorWithCallback
  • noDebug
  • test

HttpReqScenario API

  • withHttpRequest
  • resShouldBeCalledWith
  • resShouldAlwaysBeCalledWith
  • resShouldContainHeader
  • resShouldAlwaysBeIgnored
  • resDoesReturn
  • resDoesAlwaysReturn
  • resDoesReturnSelf

Compare

  • What is Maddox.compare
  • shouldEqual
  • shouldBeTruthy
  • shouldBeFalsy
  • shouldBeFalsey
  • equal
  • truthy
  • falsey
  • shouldBeUnreachable
  • shouldbeSubset
  • subset
Powered by 
  1. API

noDebug

noDebug()

By default, when a comparison fails, Maddox will place a stringified version of the actual and expected results into the stack trace so the user can see what is wrong. When noDebug is added to a scenario, Maddox will no longer provide the expected and actual in the stack trace debug params.

  • returns {Scenario}

Updated almost 9 years ago


Updated almost 9 years ago


  • Table of Contents
    • noDebug()