Comments (1)
Sorry I took a while to think about this... I'd be open to seeing a PR to implement some of these mocks, but I think we'd have to be really careful about which ones we make to be sure we're sticking to the guiding principles of testing library and not mocking things that enable testing implementation details.
If you'd like, you can open a RFC PR for the feature, I'd love to see it! Otherwise I'm going to go ahead and close this for housekeeping purposes, but note that if anyone wants to give this a try I'm open to it. I think the natural place to include it is in the jest preset.
from native-testing-library.
Related Issues (20)
- Preset with Expo in install doc is out of date HOT 3
- Support for fire Scrollview onScroll events HOT 1
- query does not work in react-native and apollo HOT 3
- fix act warning on latest react native version v62 when running multiple tests HOT 2
- How do I use getByText without it getting hung up on a <Image> inside the <Text>? HOT 3
- How should drag events be simulated? HOT 1
- ValueChange does not work as expected with Picker HOT 3
- "Unable to find an element with the value" with Picker HOT 2
- View's 'measure' method callback not invoked HOT 1
- Cannot convert undefined or null to object at assign (<anonymous>) HOT 13
- Check disabled button HOT 2
- View's `measure` + other native methods are null HOT 2
- Help with test setup HOT 1
- Test failures related to LogBox HOT 3
- Test failure after 0.63 HOT 2
- Support Installation via Git Dependency HOT 1
- Add upcoming deprecation to project README HOT 5
- fireEvent.layout doesn't trigger onLayout for TouchableOpacity HOT 2
- queryByTitle missing? HOT 1
- v6.0.0 don't works with react-native 0.61.5 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from native-testing-library.