119 Commits

Author SHA1 Message Date
Michał Pierzchała 1d5e15b230 Release 1.6.1 1.6.1 2019-03-18 15:28:19 +00:00
Eli Perkins 97ab842567 improvement: Allow for text to match children who are composed as array (#132)
### Summary

Given a component that renders text by composing together literal text with an inline expression for a dynamic variable, React Native will render this as a `<Text>` element with multiple children. For example:

```js
const BananaCounter = ({ numBananas }) => (
  <Text>There are {numBananas} bananas in the bunch</Text>
);

const { toJSON, debug } = render(<BananaCounter numBananas={3} />);

debug();
/*
      <Text>
        There are
        3
         bananas in the bunch
      </Text>
*/

expect(toJSON()).toMatchInlineSnapshot(`
<Text>
  There are 
  3
   bananas in the bunch
</Text>
`);
```

This makes sense, as the component is a:
- literal string
- a dynamic evaluation
- literal string

Unfortunately, this means that writing a test that finds an element based on that dynamic evaluation fails when using `getByText`.

```js

const { getByText } = render(<BananaCounter numBananas={3} />);
expect(getByText('There are 3 bananas in the bunch')).toBeTruthy(); // Fails
```

This is because we compare the given test string directly against `children`. https://github.com/callstack/react-native-testing-library/blob/ce3bf28f308728672bc5502e120048821c60218b/src/helpers/getByAPI.js#L23-L24

This results in comparing `'There are 3 bananas in the bunch' === ['There are ' 3, ' bananas in the bunch']`, which of course will fail.

The solution is to join children and compare the joined result against the given text string.

### Test plan

A test for this new functionality is provided!
2019-03-18 16:25:13 +01:00
greenkeeper[bot] 30fcce5508 chore: update flow-bin to the latest version 🚀 (#133)
## The devDependency [flow-bin](https://github.com/flowtype/flow-bin) was updated from `0.94.0` to `0.95.0`.
This version 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.

---

[Find out more about this release](https://github.com/flowtype/flow-bin).

<details>
  <summary>FAQ and help</summary>

  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).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴
2019-03-16 09:18:14 +01:00
greenkeeper[bot] abd1f82898 chore: update @callstack/eslint-config to the latest version 🚀 (#134)
## The devDependency [@callstack/eslint-config](https://github.com/callstack/eslint-config-callstack) was updated from `3.0.2` to `4.0.0`.
This version 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.

---

[Find out more about this release](https://github.com/callstack/eslint-config-callstack).

<details>
  <summary>FAQ and help</summary>

  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).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴
2019-03-16 09:11:32 +01:00
greenkeeper[bot] ce3bf28f30 chore: update react-native to the latest version 🚀 (#130)
* chore(package): update react-native to version 0.59.0

* chore(package): update lockfile yarn.lock

* update snapshots
2019-03-12 21:06:20 +01:00
Michał Pierzchała 3e73d6f32d chore: remove excess badges that have GH support 2019-03-11 16:52:57 +01:00
Ingibjörg Ósk Jónsdóttir (Inga) 09f9b9f05a docs: Remove misleading recommendation to use shallow in snapshot tests (#128)
### Summary

I removed misleading recommendation to render components with `shallow` in snapshot tests as a result of the conversation in Issue #127.

### Test plan

Review text in API.md
2019-03-07 20:55:03 +01:00
Michał Pierzchała b3abf50a10 docs: add callstack badge and note 2019-03-06 19:47:41 +01:00
Michał Pierzchała f988c3c229 chore: simple -> lightweight in README 2019-03-04 17:00:03 +01:00
Michał Pierzchała 5184f68894 Release 1.6.0 1.6.0 2019-03-04 12:54:33 +01:00
Michał Pierzchała 81f977a485 chore: use upstream types for react-test-renderer 2019-03-04 12:53:54 +01:00
David Calhoun f6c895bac5 docs: Update links (#125) 2019-03-03 08:32:00 +01:00
Michał Pierzchała 1c8eb106a5 chore: update metro and merge deps (#124)
### Summary

We have a security alert around `merge` so I bumped that, also upgraded to latest metro preset version (it's still Node 8 compatible), updated RN to 0.58.6

Removed the version check for Flow as we always use local version anyway.

### Test plan

Check build directory
2019-03-01 15:47:39 +01:00
greenkeeper[bot] b512329d94 Update flow-bin to the latest version 🚀 (#123)
## The devDependency [flow-bin](https://github.com/flowtype/flow-bin) was updated from `0.93.0` to `0.94.0`.
This version 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.

---

[Find out more about this release](https://github.com/flowtype/flow-bin).

<details>
  <summary>FAQ and help</summary>

  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).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴
2019-03-01 15:02:54 +01:00
Kacper Wiszczuk 11489b0e5e feat: wrap render with act() for better React Hooks support (#122) 2019-02-28 21:53:26 +01:00
Kacper Wiszczuk 747e864369 Esemesek/templates (#121)
* chore(package): update eslint to version 5.14.1

* chore(package): update lockfile yarn.lock

* Add issue templates

* Change label to 'bug report'
2019-02-23 10:28:54 +01:00
Kacper Wiszczuk 6e6d14fa43 Greenkeeper/eslint 5.14.1 (#120)
* chore(package): update eslint to version 5.14.1

* chore(package): update lockfile yarn.lock
2019-02-22 22:30:34 +01:00
greenkeeper[bot] 4f433cad59 Update flow-bin to the latest version 🚀 (#91)
## The devDependency [flow-bin](https://github.com/flowtype/flow-bin) was updated from `0.88.0` to `0.89.0`.
This version 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.

---

[Find out more about this release](https://github.com/flowtype/flow-bin).

<details>
  <summary>FAQ and help</summary>

  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).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴
2019-02-15 21:21:39 +01:00
Jan Hesters f35d4f5dac docs: Add note for cleanup being unnecessary (#115) 2019-02-14 19:39:36 +01:00
David Calhoun e17734f885 docs: Publish website (#113)
* docs: Remove unused commented code

Remove unused Docusaurus defaults as [requested](https://git.io/fh9po)
by [core maintainer](https://git.io/fh9p1).

* docs: Remove unused Users page

* docs: Remove unused help page

* docs: Fix website dependencies

Add required dependencies and package attributes to avoid yarn and lint
warnings.

* docs: Add StackOverflow tag

* docs: Reinstate i18n props

While additional language translations have not been created, there did
not appear to be a reason to comment these props out.

* docs: Add docs CI script

* docs: Remove unnecessary CI config
2019-02-08 14:57:53 +01:00
Michał Pierzchała 2ccadbe57f chore: bump RN dev dep to 0.58 (#110)
### Summary

Using latest RN for testing.

### Test plan

No new tests added, it's an upgrade
2019-02-06 10:12:48 +01:00
Michał Pierzchała aed1f8589d chore: bump jest to v24.1 (#109)
### Summary

Time to upgrade!

### Test plan

Green
2019-02-06 09:51:09 +01:00
Michał Pierzchała 28dcc6ff4a Add note about Rally Health 2019-01-24 16:46:17 +01:00
greenkeeper[bot] ecdcdf74ea Update release-it to the latest version 🚀 (#105)
## The devDependency [release-it](https://github.com/webpro/release-it) was updated from `9.8.1` to `10.0.0`.
This version 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.

---

<details>
<summary>Release Notes for Release 10.0.0</summary>

<ul>
<li>Update dev docs (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/webpro/release-it/commit/d546cc11627c7f8f4030fca2568600fc68a0b9b0/hovercard" href="https://urls.greenkeeper.io/webpro/release-it/commit/d546cc11627c7f8f4030fca2568600fc68a0b9b0"><tt>d546cc1</tt></a>)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 25 commits.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/72f512caf598a906890b5d1cd56d7854700e2eb6"><code>72f512c</code></a> <code>Release 10.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/d546cc11627c7f8f4030fca2568600fc68a0b9b0"><code>d546cc1</code></a> <code>Update dev docs</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/ccc39229e6d9b65e9438d1bd093ae04eee0c062c"><code>ccc3922</code></a> <code>Release 10.0.0-rc.2</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/eda4aa80a8ffb83d79be9ed3c81942bb2d10fe0c"><code>eda4aa8</code></a> <code>Fix debug flag</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/0b222b0fac36152b12093a54db68b7b48cba61a1"><code>0b222b0</code></a> <code>Release 10.0.0-rc.1</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/c3d03330d1f24d13548423c8132a9339d0b59442"><code>c3d0333</code></a> <code>Fix registry version check for pre-releases</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/af0e39de72b888e50344edc763799791f9708b2c"><code>af0e39d</code></a> <code>Fix up tests</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/8e6100e5ebddf810a3dd8c27085004d5f283ee59"><code>8e6100e</code></a> <code>Improve consistency/clarity in gitlab/github classes</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/fb10e8993803adf50e6d15d8d167de8e0338b0f6"><code>fb10e89</code></a> <code>Bugfix for gitlab.release fallback</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/34fa22050613a32b712faacd21dab370446ae21a"><code>34fa220</code></a> <code>Release 10.0.0-rc.0</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/17d42e8036febb44c5824b37409ab087c8cd512a"><code>17d42e8</code></a> <code>Update dependencies</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/eb3c3f84b53c6d0efc15423f737e87d4465e6c91"><code>eb3c3f8</code></a> <code>Update docs</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/6164050c911a4c324644383842f76a2b747ee27f"><code>6164050</code></a> <code>Improve handling of <code>--no-git</code></code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/0f351ed7690199fb69ba97fdbb35a582a0498c79"><code>0f351ed</code></a> <code>Better handling of "obtrusive" logs</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/574127e8ddfd5576d8cacf08d901783129348ecd"><code>574127e</code></a> <code>Start some kind of refs doc for development</code></li>
</ul>
<p>There are 25 commits in total.</p>
<p>See the <a href="https://urls.greenkeeper.io/webpro/release-it/compare/b0d8f4b898ac92941ad3e500c4cd88d5a801605a...72f512caf598a906890b5d1cd56d7854700e2eb6">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  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).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴
2019-01-17 09:41:46 +01:00
Enieber Cunha 39d2e7c8d0 chore: add links to more sample of code (#104)
* add links to more sample of code

* Update API.md

* Update API.md
2019-01-15 17:25:28 +01:00
Dana Hartweg af067d0712 docs: Add more details to the fireEvent api documentation. (#102) 2018-12-28 11:51:35 +01:00
Michał Pierzchała 6d4d426d41 chore: release 1.5.0 v1.5.0 2018-12-22 23:11:06 +01:00
Dana Hartweg ee888f1dcd feat: add getByPlaceholder query functionality (#101)
### Summary
There is a helper that exists in `react-testing-library` to query inputs by their `placeholder`. This PR adds that support.

You **could** achieve this by querying for a `placeholder` prop, or querying for react native `TextInput`s manually and then checking their props, but it felt cleaner to have this contained in the testing library itself. It will also allow you to bypass any other instances that may have a `placeholder` prop that aren't `TextInput`s.

If we don't want to expand the surface of the library further, I completely understand that and am fine with this being closed. Just seems like it may be useful and save some time for several scenarios =)

### Test plan
+ Render a `TextInput` with a `placeholder` prop
+ Query the test instance via `getByPlaceholder` for the input
+ Verify the test instance is found
2018-12-22 23:09:28 +01:00
Josh Justice 5145a708db docs: Clarify RNTL is tested to work with Jest (#98)
As discussed in https://github.com/callstack/react-native-testing-library/issues/96, I found that I could get RNTL working with Jest but not with Mocha. I haven't _confirmed_ it doesn't work with Mocha, but I think it would be helpful for users (like me) who don't have a strong preference which runner to use, to know that Jest could be a good first choice.
2018-12-21 08:10:19 +01:00
Michał Pierzchała b82b4f5a6a Revert "Fix link for api docs in read me file" (#95)
* Revert "docs: Rename api.md to API.md (#94)"

This reverts commit 53b5366393.

* Revert "docs: Fix link for api docs in read me file (#93)"

This reverts commit 86271e6ffa.
2018-12-15 12:36:59 +01:00
Michał Pierzchała 53b5366393 docs: Rename api.md to API.md (#94)
<!-- Please provide enough information so that others can review your pull request. -->
<!-- Keep pull requests small and focused on a single change. -->

### Summary

Whoopsie

### Test plan

<!-- List the steps with which we can test this change. Provide screenshots if this changes anything visual. -->
2018-12-15 12:34:19 +01:00
Alina Mihai 86271e6ffa docs: Fix link for api docs in read me file (#93)
<!-- Please provide enough information so that others can review your pull request. -->
<!-- Keep pull requests small and focused on a single change. -->

### Summary

<!-- What existing problem does the pull request solve? Can you solve the issue with a different approach? -->

### Test plan

<!-- List the steps with which we can test this change. Provide screenshots if this changes anything visual. -->
2018-12-15 12:31:28 +01:00
Michał Pierzchała 3f6b257a39 chore: update react-native to version 0.57.8 (#92)
* chore(package): update react-native to version 0.57.8

* chore(package): update lockfile yarn.lock

* remove smoke test as no longer necessary
2018-12-13 22:14:23 +01:00
greenkeeper[bot] ced096c048 chore: Update release-it to the latest version 🚀 (#90)
## The devDependency [release-it](https://github.com/webpro/release-it) was updated from `8.4.3` to `9.0.0`.
This version 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.

---

<details>
<summary>Release Notes for Release 9.0.0</summary>

<ul>
<li>Add updates/changelog notice &amp; remove temp v8 notice (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/webpro/release-it/commit/ff75970fbe684bb76842472e5f265b1448d5ac22/hovercard" href="https://urls.greenkeeper.io/webpro/release-it/commit/ff75970fbe684bb76842472e5f265b1448d5ac22"><tt>ff75970</tt></a>)</li>
<li>Add demo for pre-releases (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/webpro/release-it/commit/fb9990c6f149ed73285c2fea56858b827aeae78a/hovercard" href="https://urls.greenkeeper.io/webpro/release-it/commit/fb9990c6f149ed73285c2fea56858b827aeae78a"><tt>fb9990c</tt></a>)</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 39 commits ahead by 39, behind by 2.</p>
<ul>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/83f1f883037cd39db9462c59e9692ce60138c542"><code>83f1f88</code></a> <code>Release 9.0.0</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/ff75970fbe684bb76842472e5f265b1448d5ac22"><code>ff75970</code></a> <code>Add updates/changelog notice &amp; remove temp v8 notice</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/fb9990c6f149ed73285c2fea56858b827aeae78a"><code>fb9990c</code></a> <code>Add demo for pre-releases</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/fc1093ef3588f9eb316e69c80bd9ce7461ec0625"><code>fc1093e</code></a> <code>Release 9.0.0-beta.4</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/e4e04a7d103db9d62b493e60b69ce4e9871184b6"><code>e4e04a7</code></a> <code>Fix/clean up dist defaults</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/bc3b137862938327efa0200dbfb98a79667b9e1a"><code>bc3b137</code></a> <code>Indicate pre-release in github prompt</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/867f65c76e5cb1ec34ab1f4148c0a24a9dcca0e9"><code>867f65c</code></a> <code>Fix priority of <code>--npm.tag</code></code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/b15b85604b10851ad7664433c71ac535abf0c108"><code>b15b856</code></a> <code>Release 9.0.0-beta.3</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/7e2e9e712e30a0045a2f1285b7315e40a5dabd18"><code>7e2e9e7</code></a> <code>Minor refactorings</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/ec3e01086976e888cc4205adaea4aaa0ee878032"><code>ec3e010</code></a> <code>Fix npm tag for pre-release</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/3607e706b9cf40651e5d312848f56cba673594db"><code>3607e70</code></a> <code>Add link to repository dependents to readme</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/2ee03e5f1f07e850700ed287babddba03d11d847"><code>2ee03e5</code></a> <code>Update readme with note re. v8/9 (closes #415)</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/0d1ebb5d33da02f8027df062689162a4fa9b949a"><code>0d1ebb5</code></a> <code>Release 9.0.0-beta.2</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/47347c48cdad0321dbb495e1f6fbd7109159e13a"><code>47347c4</code></a> <code>Tweak readme</code></li>
<li><a href="https://urls.greenkeeper.io/webpro/release-it/commit/c0a210b4f8defbff13bc3488798a69c17c8484cf"><code>c0a210b</code></a> <code>Use actual un-mocked method in test</code></li>
</ul>
<p>There are 39 commits in total.</p>
<p>See the <a href="https://urls.greenkeeper.io/webpro/release-it/compare/5e3aec8b3ecb4753f588c2ea0acf3b6313a7c0ed...83f1f883037cd39db9462c59e9692ce60138c542">full diff</a></p>
</details>

<details>
  <summary>FAQ and help</summary>

  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).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴
2018-12-13 15:17:14 +01:00
Brooks Becton ad61c409e9 docs: add website built with Docusaurus (#74)
* Run docusaurus init

* Add api.md and remove initial files

* Run docusaurus init

* Add api.md and remove initial files

* Add callstack info and remove extra scripts

* Commeent out  extra features on home page and Add link to example

* Re Arrange Docs Folder

* add some adjustments

* fix lint

* fix lint
2018-12-11 19:58:37 +01:00
greenkeeper[bot] 1673bc0fdd chore: Update flow-bin to the latest version 🚀 (#86)
## The devDependency [flow-bin](https://github.com/flowtype/flow-bin) was updated from `0.87.0` to `0.88.0`.
This version 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.

---

[Find out more about this release](https://github.com/flowtype/flow-bin).

<details>
  <summary>FAQ and help</summary>

  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).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴
2018-12-10 22:02:59 +01:00
Kacper Wiszczuk 2d999011cc chore: Greenkeeper/@types/react 16.7.11 (#82)
* chore(package): update @types/react to version 16.7.11

* fix: fix typings

* fix: Revert yarn.lock file
2018-12-01 14:20:36 +01:00
Michał Pierzchała dc5ece431c chore: release 1.4.2 v1.4.2 2018-11-29 10:34:50 +01:00
Michał Pierzchała bf2271dc01 fix: add errors for queryBy* helpers when more instances found (#79) 2018-11-29 10:24:22 +01:00
Michał Pierzchała 2981dfe5ed chore: release 1.4.1 v1.4.1 2018-11-28 12:56:57 +01:00
Michał Pierzchała bc4975b481 chore: release 1.4.1-es5.1 2018-11-28 12:51:35 +01:00
Michał Pierzchała c5910d94e4 fix: remove deprecated existential Flow type and use any for now (#77)
<!-- Please provide enough information so that others can review your pull request. -->
<!-- Keep pull requests small and focused on a single change. -->

### Summary

Existential type (`*`) is long deprecated, let's just use `any` for now.

### Test plan

Added some more Flow typings to `shallow.test.js` that were failing because of existential type.
2018-11-28 12:49:15 +01:00
Michał Pierzchała 6dfbc6794b docs: add note about new APIs in v1.4 (#76) 2018-11-28 10:09:48 +01:00
greenkeeper[bot] 0e47320bd4 chore: Update flow-bin to the latest version 🚀 (#75)
## The devDependency [flow-bin](https://github.com/flowtype/flow-bin) was updated from `0.86.0` to `0.87.0`.
This version 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.

---

[Find out more about this release](https://github.com/flowtype/flow-bin).

<details>
  <summary>FAQ and help</summary>

  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).
</details>

---


Your [Greenkeeper](https://greenkeeper.io) bot 🌴
2018-11-28 09:26:15 +01:00
Michał Pierzchała b0c4dd73ad chore(package): update react-native to version 0.57.7 (#73)
* chore(package): update react-native to version 0.57.7

* chore(package): update lockfile yarn.lock
2018-11-27 19:32:19 +01:00
Karl Dominick Cinco b410e39622 fix: modify *ByType API TS typings to allow required props (#71) 2018-11-27 19:28:44 +01:00
Michał Pierzchała 3f2fc16ec2 docs: separate API from main README.md (#70)
### Summary

Separate API docs from main README.md
Relates to #26.

### Test plan

|README.md|api.md|
|--|--|
|<img width="980" alt="screenshot 2018-11-23 at 12 21 42" src="https://user-images.githubusercontent.com/5106466/48941096-740d0a80-ef1a-11e8-8c92-110f1b47826d.png">|<img width="984" alt="screenshot 2018-11-23 at 12 22 05" src="https://user-images.githubusercontent.com/5106466/48941097-740d0a80-ef1a-11e8-872b-a8dfb7814e68.png">|
2018-11-23 15:03:22 +01:00
Michał Pierzchała 2104c486f3 chore: release 1.4.1-es5.0 v1.4.1-es5.0 2018-11-23 10:15:14 +01:00
Jukkish c3672cf23e feat: compile to ES5 for publishing (#50)
### Summary

Fixes https://github.com/callstack/react-native-testing-library/issues/49
2018-11-23 10:07:42 +01:00
Michał Pierzchała a052349ce7 docs: getAllByName -> getAllByType in example (#67)
<!-- Please provide enough information so that others can review your pull request. -->
<!-- Keep pull requests small and focused on a single change. -->

### Summary

Get rid of all `getAllByName` mentions in examples.
2018-11-19 22:28:06 +01:00