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

feat: call "cleanup" automatically #238

Merged
merged 15 commits into from May 20, 2020
Merged

Commits on May 14, 2020

  1. feat: add "cleanup" function

    aleclarson authored and thymikee committed May 14, 2020
    Configuration menu
    Copy the full SHA
    eb8d275 View commit details
    Browse the repository at this point in the history
  2. docs: add "cleanup" section

    aleclarson authored and thymikee committed May 14, 2020
    Configuration menu
    Copy the full SHA
    42cd20e View commit details
    Browse the repository at this point in the history
  3. feat: automatically call "cleanup" after each test

    ...if an "afterEach" global function is defined, and process.env.RTL_SKIP_AUTO_CLEANUP is falsy.
    
    Taken from: https://github.com/testing-library/react-testing-library/blob/14670debd45236d2c5d0a61a83dadc72af1bef7c/src/index.js
    aleclarson authored and thymikee committed May 14, 2020
    Configuration menu
    Copy the full SHA
    20969cb View commit details
    Browse the repository at this point in the history
  4. docs: mention automatic cleanup

    aleclarson authored and thymikee committed May 14, 2020
    Configuration menu
    Copy the full SHA
    74d63bf View commit details
    Browse the repository at this point in the history
  5. add within

    thymikee committed May 14, 2020
    Configuration menu
    Copy the full SHA
    70fbaff View commit details
    Browse the repository at this point in the history
  6. fix lint

    thymikee committed May 14, 2020
    Configuration menu
    Copy the full SHA
    eac99b2 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2020

  1. Merge branch 'next' into cleanup-v2

    # Conflicts:
    #	src/index.js
    #	yarn.lock
    mdjastrzebski committed May 20, 2020
    Configuration menu
    Copy the full SHA
    4a83e8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    561022f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b8f96a9 View commit details
    Browse the repository at this point in the history
  4. Small fix

    mdjastrzebski committed May 20, 2020
    Configuration menu
    Copy the full SHA
    b0b7b58 View commit details
    Browse the repository at this point in the history
  5. Code review changes

    mdjastrzebski committed May 20, 2020
    Configuration menu
    Copy the full SHA
    c358d72 View commit details
    Browse the repository at this point in the history
  6. Update website/docs/API.md

    Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
    mdjastrzebski and thymikee committed May 20, 2020
    Configuration menu
    Copy the full SHA
    57a6f6c View commit details
    Browse the repository at this point in the history
  7. More changes

    mdjastrzebski committed May 20, 2020
    Configuration menu
    Copy the full SHA
    8dec704 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0812780 View commit details
    Browse the repository at this point in the history
  9. Code cleanup

    mdjastrzebski committed May 20, 2020
    Configuration menu
    Copy the full SHA
    349c1f5 View commit details
    Browse the repository at this point in the history