ojoanalogo / nestjs-redoc

📘 ReDoc frontend for you NestJS swagger API documentation
MIT License
146 stars 55 forks source link

feat(test): add unit tests #2

Closed jmcdo29 closed 5 years ago

jmcdo29 commented 5 years ago

Add unit tests to update coverage though there are a few issues. Add in development tools such as commitlint , prettier, tslint, jest, and husky.

Commitlint - make sure all commit messages are formatted in a certain way. NestJS and Angular follow this style Prettier - code formatter to keep code style in line across the project TSLint - linter to make sure code adheres to specified rules (can be switched for ESLint afte ra few changes are made) Jest - Test runner developed by Facebook. NestJS uses it as its default Husky - Git Hook and command runner. Pre-commit is my natural go to, use format and lint on pre-commit to make sure all code coming in follows your standards. Commit-message allows you to lint your commit messages.

Fixes #1

jmcdo29 commented 5 years ago

I'm closing this pull request as there is already the expected changes on the feats/test branch