drashland / rhum

A test double library
https://drash.land/rhum
MIT License
91 stars 6 forks source link

Mock Not Taking Arguments #28

Closed ebebbington closed 3 years ago

ebebbington commented 4 years ago

Describe the bug Need to investigate this further and replicated, but mocking an object doesn't seem to return function with the params. See screenshot below

To Reproduce Steps to reproduce the behavior:

  1. See screenshot below. Update this section once investigated

Expected behavior A mock should be returned that acts the same as the method that was mocked

Suggested Solution(s) A list of suggested solutions to try/implement.

Screenshots

From discord:

image