dylanpinn / FIT3036-frontend

FIT3036 - Computer Science project frontend
0 stars 0 forks source link

Update react-testing-library to the latest version 🚀 #41

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 5 years ago

Version 5.0.0 of react-testing-library was just published.

Dependency react-testing-library
Current Version 4.1.8
Type devDependency

The version 5.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of react-testing-library.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes v5.0.0

5.0.0 (2018-08-09)

Bug Fixes

  • change: no longer using Simulate.change (32f3e65)
  • revert: revert previous change (was a breaking change). (633cb54)

BREAKING CHANGES

  • change: If you used the old form of value changes you'll need to update your code to the new form:

Before:

formField.value = newValue;
fireEvent.change(formField);

After:

fireEvent.change(formField, {target: {value: newValue}});
Commits

The new version differs by 2 commits.

  • 32f3e65 fix(change): no longer using Simulate.change
  • 633cb54 fix(revert): revert previous change (was a breaking change).

See the full diff

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

greenkeeper[bot] commented 5 years ago

Version 5.0.1 just got published.

Update to this version instead 🚀

Release Notes v5.0.1

5.0.1 (2018-09-03)

Bug Fixes

  • TS: update typings for optional option arguments (#168) (056b1e5)
Commits

The new version differs by 9 commits.

  • 056b1e5 fix(TS): update typings for optional option arguments (#168)
  • 081fa92 docs: add missing curly brackets (#165)
  • e18519a docs: update debug description (#164)
  • 44335b5 docs: update Readme.md (#163)
  • fff012a docs: add link to example repo using react-testing-library to test a Relay Modern app. (#160)
  • 75e3952 docs: fix typo in README (#159)
  • 65c7633 docs: tiny fix (#158)
  • 0511fed chore: cleanup deprecated assertions
  • a0022cf docs: add FAQ for the change event

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead 🚀

Release Notes for v5.1.0

5.1.0 (2018-09-18)

Features

Commits

The new version differs by 8 commits.

  • 57dd63d feat(render): expose option to override bound queries (#177)
  • 595abe6 docs: add a note about triggering onChange event on checkbox (#178)
  • b2b84f2 docs: what is react testing library (#176)
  • ce1d1f1 docs: add additional learning material to README (#174)
  • 80b6ae2 docs: parenthesis was incorrectly placed :) (#173)
  • b18ff5b docs: add wait section add query by text (#172)
  • 61e382f docs: update README.md (#171)
  • a05248e docs: add global setup, custom render docs (#166)

See the full diff