Skip to content

Files

Latest commit

ee397f3 · Oct 24, 2023

History

History
61 lines (36 loc) · 1.41 KB

CONTRIBUTING.md

File metadata and controls

61 lines (36 loc) · 1.41 KB

Contributing

We welcome contributions to DryerJS! If you find a bug or have a feature request, please open an issue on our GitHub repository. If you'd like to contribute code, feel free to open a pull request.

Development Guide

To contribute to the development of "DryerJS" or work on your own projects using this library, follow these steps:

Set Up Your Environment

  • Start mongodb with docker-compose if needed:

    docker-compose up -d
  • Start the Example Application

    npm run start:dev
  • Visit http://localhost:3000/graphql in your web browser. You should see the GraphQL Playground, allowing you to interact with the API.

Unit testing

To run unit tests for DryerJS, use the following command:

 npm run test:unit

End-to-End Testing

To run end-to-end tests, use the following command:

npm run test:e2e

Updating Snapshots

To update snapshots for end-to-end tests, use the following command:

npm run test:e2e -- --updateSnapshot

Test coverage

To check test coverage, use the following command:

npm run test:cov && npm run show-cov

Create PRs

Follow this instruction