Skip to content

Commits

Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Jun 8, 2019

  1. 3.12.0

    searls committed Jun 8, 2019
    Copy the full SHA
    e7a1561 View commit details
    Browse the repository at this point in the history
  2. Merge pull request testdouble#417 from testdouble/mutable-verify

    add cloneArgs option to td.when/td.verify
    searls committed Jun 8, 2019
    Copy the full SHA
    d1234ca View commit details
    Browse the repository at this point in the history
  3. 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 testdouble#375
    searls committed Jun 8, 2019
    Copy the full SHA
    e8ad91e View commit details
    Browse the repository at this point in the history
  4. 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 testdouble#416
    searls committed Jun 8, 2019
    Copy the full SHA
    791aff2 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2019

  1. update changelog

    searls committed Feb 24, 2019
    Copy the full SHA
    ca45250 View commit details
    Browse the repository at this point in the history
  2. 3.11.0

    searls committed Feb 24, 2019
    Copy the full SHA
    ecbe9ec View commit details
    Browse the repository at this point in the history
  3. update npm, churned lockfile

    searls committed Feb 24, 2019
    Copy the full SHA
    5ed8fc7 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    f46f900 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2019

  1. Copy the full SHA
    738f5a5 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2019

  1. Copy the full SHA
    247b673 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2019

  1. corrected test for clarity

    searls committed Feb 3, 2019
    Copy the full SHA
    d7418d9 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    3bbed08 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    465307c View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    e464491 View commit details
    Browse the repository at this point in the history
  5. Extract proxy to its own file

    searls committed Feb 3, 2019
    Copy the full SHA
    6ef9db2 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    dff624b View commit details
    Browse the repository at this point in the history
  7. Merge branch 'deeplyNestedProxyObjects' of git://github.com/lgandecki…

    …/testdouble.js into lgandecki-deeplyNestedProxyObjects
    searls committed Feb 3, 2019
    Copy the full SHA
    c10552b View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2019

  1. Changelog for 3.10.0

    searls committed Feb 2, 2019
    Copy the full SHA
    c757496 View commit details
    Browse the repository at this point in the history
  2. 3.10.0

    searls committed Feb 2, 2019
    Copy the full SHA
    cd9cdc2 View commit details
    Browse the repository at this point in the history
  3. update doc

    searls committed Feb 2, 2019
    Copy the full SHA
    99ee692 View commit details
    Browse the repository at this point in the history
  4. Print the children of test doubles

    Some imitated functions (esp constructors) will have child props that
    are themselves test doubles, so we should recursively print their 
    children, too
    searls committed Feb 2, 2019
    Copy the full SHA
    26fe0b4 View commit details
    Browse the repository at this point in the history
  5. fix standard

    searls committed Feb 2, 2019
    Copy the full SHA
    e38fa86 View commit details
    Browse the repository at this point in the history
  6. Change td.explain() to return a deep explainy clone

    After reading the spec, I came to a different opinion about how objects
    should be handled. In particular, it seems to me that printing deeply
    nested children under a `children` property, while still having the 
    top-level object "quack" like anything else passed to `td.explain()`
    seemed like the best balance of new information with 
    compatibility/consistency.
    
    Relatedly, the attempt to uncover deeply-nested items would require way
    too much edge-case handling for this function to do on its own (see
    the implementation of td.imitate() for how many dragons are involved).
    To accomplish a recursive clone, this change pulls in _.cloneDeepWith
    and passes a transformer func for the case that a function is visited.
    Test double functions are explained and non test double functions are
    given a null descriptor where isTestDouble returns false.
    
    I changed the tests to express all this in the minimum number of test
    cases while maximally asserting everything that is returned by 
    `td.explain`.
    searls committed Feb 2, 2019
    Copy the full SHA
    972c7be View commit details
    Browse the repository at this point in the history
  7. user theredoc on the heredocs

    searls committed Feb 2, 2019
    Copy the full SHA
    928be93 View commit details
    Browse the repository at this point in the history
  8. reduce indirection, update names

    Just trying to understand what this is doing. A command pattern seemed
    not helpful
    searls committed Feb 2, 2019
    Copy the full SHA
    8e6ee1b View commit details
    Browse the repository at this point in the history
  9. standard --fix

    searls committed Feb 2, 2019
    Copy the full SHA
    2880fdb View commit details
    Browse the repository at this point in the history
  10. Merge branch 'explain-object' of git://github.com/robwold/testdouble.…

    …js into robwold-explain-object
    searls committed Feb 2, 2019
    Copy the full SHA
    a85dffe View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2019

  1. Merge pull request testdouble#405 from testdouble/chore/remove-map-de…

    …pendency
    
    Remove unnecessary dependency on es6-map.
    searls committed Jan 29, 2019
    Copy the full SHA
    3b8d4ea View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    c12cda4 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2019

  1. Merge pull request testdouble#404 from jasonmit/patch-1

    docs: Correct broken link to testdouble-qunit
    searls committed Jan 22, 2019
    Copy the full SHA
    5a1d9f3 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    cee2aa0 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    dc01a73 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2019

  1. added test that verifies the proper reset behavior, removed unnecessa…

    …ry __mocks__ scratchpad
    lgandecki committed Jan 17, 2019
    Copy the full SHA
    20df4fe View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2019

  1. Changelog for 3.9.3

    searls committed Jan 16, 2019
    Copy the full SHA
    efa931b View commit details
    Browse the repository at this point in the history
  2. 3.9.3

    searls committed Jan 16, 2019
    Copy the full SHA
    a4ddffd View commit details
    Browse the repository at this point in the history
Older