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

Added support for naming mocked functions #4586

Merged
merged 18 commits into from
Oct 8, 2017

Commits on Oct 2, 2017

  1. Merge pull request #1 from facebook/master

    Update from master
    gricard committed Oct 2, 2017
    Configuration menu
    Copy the full SHA
    5ed77b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    348b77f View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2017

  1. Configuration menu
    Copy the full SHA
    c39eb37 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    76936ce View commit details
    Browse the repository at this point in the history
  3. Linting fix

    gricard committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    2f8066e View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2017

  1. Switched from snapshot matching to regex matching because the snapsho…

    …ts vary by platform, apparently
    gricard committed Oct 7, 2017
    Configuration menu
    Copy the full SHA
    29623ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9258feb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2d284a4 View commit details
    Browse the repository at this point in the history
  4. Fix test syntax

    gricard committed Oct 7, 2017
    Configuration menu
    Copy the full SHA
    10f49e9 View commit details
    Browse the repository at this point in the history
  5. Additional unit tests

    gricard committed Oct 7, 2017
    Configuration menu
    Copy the full SHA
    f8c7014 View commit details
    Browse the repository at this point in the history
  6. Fix linting problems

    gricard committed Oct 7, 2017
    Configuration menu
    Copy the full SHA
    8202562 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2017

  1. Removed functionality of having mock name passed as argument to jest.…

    …fn() and only use jest.fn().mockName() to set it
    gricard committed Oct 8, 2017
    Configuration menu
    Copy the full SHA
    bb547bb View commit details
    Browse the repository at this point in the history
  2. Linting fix

    Remove obsolete unit tests
    gricard committed Oct 8, 2017
    Configuration menu
    Copy the full SHA
    8a05ec4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b53639b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8037727 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1aaa2e0 View commit details
    Browse the repository at this point in the history
  6. Changed mockName() API to return the current mock name via a separate…

    … getMockName() instead of overloading mockName() function to return it when no arguments are passed
    gricard committed Oct 8, 2017
    Configuration menu
    Copy the full SHA
    a116716 View commit details
    Browse the repository at this point in the history
  7. Update MockFunctionAPI.md

    cpojer committed Oct 8, 2017
    Configuration menu
    Copy the full SHA
    b303876 View commit details
    Browse the repository at this point in the history