Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • NodeRequire

Index

Methods

requireActual

  • requireActual(moduleName: string): any
  • Returns the actual module instead of a mock, bypassing all checks on whether the module should receive a mock implementation or not.

    deprecated

    Use jest.requireActual instead.

    Parameters

    • moduleName: string

    Returns any

requireMock

  • requireMock(moduleName: string): any
  • Returns a mock module instead of the actual module, bypassing all checks on whether the module should be required normally or not.

    deprecated

    Use jest.requireMockinstead.

    Parameters

    • moduleName: string

    Returns any

Generated using TypeDoc