mirror of
https://github.com/callstack/react-native-testing-library.git
synced 2026-09-18 23:09:04 +08:00
61359c70e6
* feat: Add alias accessibilityLabel queries to assist in migrating from @testing-library/react-native * feat: Add alias accessibilityHint queries to assist in migrating from @testing-library/react-native * feat: Add alias accessibilityRole queries to assist in migrating from @testing-library/react-native * feat: Add to A11yAPI types to include the newly-aliased queries for label, hint, and role * test: Add tests for newly-aliased label, hint, and role a11y queries * test: Add newly-alised a11y queries to the index typings test file * docs: Add query aliases for testing library migrators to Queries documentation * test: Consolidate aliased query tests into shared tests. FIXME's where there are errors * test: Update a11yAPI tests to assert referential equality for query aliases * refactor: apply Prettier formatting to a11yAPI test file * fix: address typos in CONTRIBUTING.md * test: Separate referential quality assertion tests for query aliases into their own tests Co-authored-by: Ryan Wessel <rwessel@dataminr.com>
Website
This website is built using Docusaurus 2, a modern static website generator.
Installation
$ yarn
Local Development
$ yarn start
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
Build
$ yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
$ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.