You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: introduce ByLabelText, ByRole and ByHintText a11y aliases (#445)
* 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 <[email protected]>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ The core team works directly on GitHub and all work is public.
13
13
> **Working on your first pull request?** You can learn how from this _free_ series: [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).
14
14
15
15
1. Fork the repo and create your branch from `master` (a guide on [how to fork a repository](https://help.github.com/articles/fork-a-repo/)).
16
-
2. Run `yarn` to setup the developement environment.
16
+
2. Run `yarn` to setup the development environment.
17
17
3. Do the changes you want and test them out in the example app before sending a pull request.
18
18
19
19
### Commit message convention
@@ -32,7 +32,7 @@ Our pre-commit hooks verify that your commit message matches this format when co
32
32
33
33
### Linting and tests
34
34
35
-
We use `flow` for type checking, `eslint` with `prettier` for linting and formatting the code, and `jest` for testing. Our pre-commit hooks verify that the linter and tests pass when commiting. You can also run the following commands manually:
35
+
We use `flow` for type checking, `eslint` with `prettier` for linting and formatting the code, and `jest` for testing. Our pre-commit hooks verify that the linter and tests pass when committing. You can also run the following commands manually:
0 commit comments