Commit Graph

11 Commits

Author SHA1 Message Date
Maciej Jastrzebski 2bce396a46 docs: expose jest matchers publically (docs, examples, etc) (#1523)
* docs: update references to Jest Native

* chore: update docs

* chore: update example apps

* docs: update

* chore: upgrade example apps

* chore: self code review

* chore: docs tweaks

* docs: code review changes
2023-11-14 12:23:24 +01:00
Maciej Jastrzebski 80e64cff56 chore: enable Yarn 4 on CI (#1525)
* chore: enable Yarn 4 on CI (attempt 1)

* chore: attempt 2

* chore: attempt 3

* chore: attempt 4

* chore: attempt 5

* chore: fix website

* chore: fix attempt 6'
2023-11-13 17:29:36 +01:00
Maciej Jastrzebski 817d4edb75 chore: modern yarn (4.0) (#1517)
* chore: upgrade to Yarn 4

* chore: upgrade examples/basic

* chore: add git ignores

* chore: upgrade website yarn

* chore: fix yarn scripts

* chore: git ignore tweaks

* chore: git ignore tweaks
2023-11-13 14:16:47 +01:00
MattAgn c9c0493903 Add alias to hidden in query options (#1220)
Co-authored-by: Maciej Jastrzebski <mdjastrzebski@gmail.com>
2022-11-15 11:18:03 +01:00
Kenneth Kwakye-Gyamfi 58055d8998 docs: migrate to Docusaurus v2 (#299)
* Migration to Docusaurus v2.0.0

* update lock file

* add algolia search

* update GH Pages deploy

* make sidebar non-collapsible for now

* update theme colors

* ignore docusaurus-specific import aliases, remove home-container class

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
2020-05-13 10:28:32 +02:00
Kenneth Kwakye-Gyamfi 95b4889fe9 docs: add example of testing React Navigation (#277)
* Proof of concept -  CodeSandbox embed

* Prettier fix

* Moved examples below API Reference

* Created the examples directory

Includes react-navigation example

* Article on React Navigation

* Specify rootDir for testing

Prevents CI to run example tests

* remove jest-transform-stub and identity-obj-proxy, add transformIgnorePatterns

* update docs

* rearrange

* remove non-essential files

* rename Navigation -> AppNavigator

* reword comment

* add links and explanations

* remove index file, because it's not an app anyway

Co-authored-by: Michał Pierzchała <thymikee@gmail.com>
2020-04-24 11:08:52 +02:00
Nicolas Charpentier 59f6d23f7a Add .DS_Store to .gitignore (#214) 2019-08-13 21:43:04 +02:00
Ferran Negre 8984abbf74 feat: being able to fire custom events that do not need to start with "on" (#147)
### Summary

If I have a custom button like:

```js
<MyCustomButton handlePress={onPress} />
```

The following will not work:

```js
fireEvent(getByTestId('my-custom-button'), 'handlePress');
```

Because we are trying to call `onHandlePress`.

### Test plan

```
yarn test fireEvent
```
2019-04-09 15:37:15 +02: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 e22cedb72f chore: setup circleci 2018-10-06 19:25:51 +02:00
Michał Pierzchała ac77a55068 inital commit 2018-10-01 18:15:56 +02:00