Files
callstack__react-native-tes…/.gitignore
T
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

6 lines
44 B
Plaintext

node_modules
*.log
.eslintcache
build
.idea