Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: testing-library/react-hooks-testing-library

v1.0.2

19 Jun 13:46
@mpeyper mpeyper
Compare
Choose a tag to compare
Loading

Changes

  • Forgot some more references in the README
  • Fixed some references in tests
Loading

v1.0.1

19 Jun 13:46
@mpeyper mpeyper
Compare
Choose a tag to compare
Loading

Changes

  • Forgot some references in the README
Loading

v1.0.0

19 Jun 13:30
@mpeyper mpeyper
Compare
Choose a tag to compare
Loading

📢 WE HAVE MOVED

react-hooks-testing-library has moved to the testing-library Org and in now published under the @testing-library scope. Please update your dependeny by running:

npm uninstall react-hooks-testing-library
npm install --save-dev @testing-library/react-hooks

Changes

  • Updated docs and links from mpeyper to testing-library (#99)
  • Updated dependencies
  • No more v0.x.x versions! (#26)
    • The API has been stable for quite some time, and I felt like the time had come

⚠️ Breaking Changes

  • Removed the deprecated testHook function
    • If you haven't already, please update your tests to use renderHook instead... It's just a rename.
Loading

v0.6.0

20 Jun 12:35
@mpeyper mpeyper
141ce65
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading

Changes

Note: the published code for this release was not commited to git and this tag was created as a marker for the last react-hooks-testing-library commit

Loading

v0.5.1

02 Jun 04:11
@mpeyper mpeyper
Compare
Choose a tag to compare
Loading

Changes

  • Removed error boundary to remove React warning (#50, #74)
  • Various dependency updates (renovate-bot)
  • Docs improvements (#47, #54)
Loading

v0.5.0

21 Apr 11:01
@mpeyper mpeyper
Compare
Choose a tag to compare
Loading

Changes

  • Changed component rendering to use react-test-renderer instead of react-testing-library (#40)

⚠️ Breaking Changes

  • There is no longer a direct dependency on react-testing-library
    • If you were using it without your own dependency, please run npm i -D react-testing-library@^6.0.3 (or the yarn equivalent)
  • renderHook no longer returns cleanup and the cleanup-after-each utility has been removed
Loading

v0.4.1

16 Apr 11:45
@mpeyper mpeyper
Compare
Choose a tag to compare
Loading

Changes

  • The error handling changes from v0.4.0 will no longer prevent Suspense from suspending (#27, #35)
Loading

v0.4.0

31 Mar 10:26
@mpeyper mpeyper
Compare
Choose a tag to compare
Loading

Changes

  • Throw values from hooks are now available in the result.error property (#20, #21)

⚠️ Breaking Changes

  • result.current is now a readonly getter
  • result.current will throw any captured error if retrieving an invalid value
Loading

v0.3.8

22 Mar 11:25
@mpeyper mpeyper
Compare
Choose a tag to compare
Loading

Changes

  • added cleanup-after-each utility import (#13 #15)
  • updated README
Loading

v0.3.7

14 Mar 10:59
@mpeyper mpeyper
Compare
Choose a tag to compare
Loading

Changes

  • Added waitForNextUpdate helper for testing async hooks (#10 #11)
Loading

AltStyle によって変換されたページ (->オリジナル) /