This repository was archived by the owner on Jul 30, 2020. It is now read-only.
Releases: testing-library/native-testing-library
Releases · testing-library/native-testing-library
v4.0.1
v4.0.0
4.0.0 (2019-05-30)
Features
- initial release of scoped package
BREAKING CHANGES
- You must update all imports from 'native-testing-library' to '@testing-library/react-native'
🚨🚨🚨🚨
Find/replace native-testing-library
for @testing-library/react-native
and upgrade to v4
🚨🚨🚨🚨
v3.1.2
v3.1.1
v3.1.0
v3.0.0
3.0.0 (2019-05-16)
Bug Fixes
- getBy:* throw an error if more than one element is found (#7) (ebd4410)
- add regression test for custom queries (8750ccf)
- add wait-for-element-to-be-removed to index.d.ts (06c106e)
- change mock to doMock (5707853)
- change node filter params (55ce35c)
- change the way event bubbling works (bc6913b)
- change the way mocks work (9eac5ba)
- jest preset was not working (623345f)
Documentation
- update docs for 3.0.0 (6aea9a7)
Features
- queries: throw when multiple elements are returned from getBy (61895c9)
- add asFragment to the API (4980ac2)
- add SafeAreaView to mocks (bce8162)
- build custom toJSON (a6192db)
- change the mocked core components (#10) (d377026)
- decouple lib from preset (d2bd926)
- include jest serializer (c5364a8)
- mostly the same api as DTL (6faa701)
- only traverse valid parents and children (bcde7d7)
- prepare rc.1 (11b7b1d)
BREAKING CHANGES
- Release 3.0.0 adds exciting new features like a bundled jest preset, and aligns
more closely to the testing-library guiding principles. - getBy:*
queryBy
andgetBy
now throw when multiple elements are returned and prompt users to use other queries if multiple results were intentional. This was done to remain in feature parity with dom-testing-library. - queries:
queryBy
andgetBy
now throw when multiple elements are returned and prompt
users to use other queries if multiple results were intentional. This was done to remain in feature
parity with dom-testing-library.
v2.1.0
v2.0.1
v2.0.0
2.0.0 (2019-04-25)
Bug Fixes
- getBy:* throw an error if more than one element is found (49f2b0d)
BREAKING CHANGES
- getBy:*
queryBy
andgetBy
now throw when multiple elements are returned and prompt users to use other queries if multiple results were intentional. This was done to remain in feature parity withdom-testing-library