dummy v1.1.1 Dummy.Method

Handles replacing methods

Link to this section Summary

Functions

Replaces a method with a mock, according to how the mock was defined: "function", "function/N" or {"function", value} or {"function", fn}

Link to this section Functions

Link to this function

replace(module, method)

Replaces a method with a mock, according to how the mock was defined: "function", "function/N" or {"function", value} or {"function", fn}