Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add cloneArgs option to td.when/td.verify #417

Merged
merged 2 commits into from
Jun 8, 2019
Merged

add cloneArgs option to td.when/td.verify #417

merged 2 commits into from
Jun 8, 2019

Commits on Jun 8, 2019

  1. Add cloneArgs option for when/verify mutations

    This config option makes it possible to stub & verify values that are 
    mutated at some point by checking whether args match by value as opposed
    to reference
    
    Fixes #416
    searls committed Jun 8, 2019
    Configuration menu
    Copy the full SHA
    791aff2 View commit details
    Browse the repository at this point in the history
  2. Now that we cloneArgs, use those to explain calls

    This means that if an arg is mutated, users will see the real one for
    recorded invocation. 
    
    Fixes #375
    searls committed Jun 8, 2019
    Configuration menu
    Copy the full SHA
    e8ad91e View commit details
    Browse the repository at this point in the history