Alan Slater

Results 43 comments of Alan Slater
trafficstars

Best workaround for my particular case so far seems to be to control an `isFocused` state in the Pressable's parent using `onBlur` / `onFocus` and not allow disabled to be...

This would be very useful. It's possible to do a partial workaround by passing an additional arg to `fireEvent`; in your example: ```jsx fireEvent(button, 'press', {}); expect(typeof onPress.mock.calls[0][1]).toBe(typeof 'object'); ```...

Is there any solution for this issue when multiple tests are run concurrently? For example: - In a monorepo where multiple packages use `axe-core` (or a dependent like `jest-axe`) -...

@w-a-t-s-o-n I'm afraid not, it seemed to be a side effect of Axe's origins as a bookmarklet-like client-side script that it assumes it'll be used in a one-shot single thread...

@NickGerleman Is there a standard way to opt in to an up-to-date vanilla JS template after 0.71? Like a non-typescript equivalent of how `--template react-native-template-typescript` is mentioned in the