Everyone is welcome to contribute regardless of personal background. We enforce a Code of conduct in order to promote a positive and inclusive environment.
First fork and clone the repository. If you're not sure how to do this, please watch these videos.
Run:
npm ci
Tests are run with:
npm test
In watch mode:
npm run test:watch
We use prettier
for formatting and eslint
for linting. You can run those using
npm run format
npm run lint
This library extends chai
and jest
. Wrappers for chai
and jest
can be found under src/chai
and src/jest
accordingly.
The wrappers use utilities from src/utils
that abstract some of the complexity of dealing with AWS services APIs.
We actively welcome your pull requests.
Before submitting a pull request, please make sure the following is done:
- Fork the repository and create your branch from
main
- Run
npm ci
in the repository root - If you fixed a bug or added code that should be tested, add tests!
- Ensure the test suite passes (
npm test
) - Format your code with prettier (
npm run format
) - Make sure your code lints (
npm run lint
) - Run the TypeScript type checks (
npm run build
) - If applicable add an example in the examples repository
Merge the release PR
By contributing to AWS Testing Library, you agree that your contributions will be licensed under its MIT license.