Hi there! I've been using this boilerplate to get my project started, really thankful for it. I was wondering if you have added unit tests for the services and controllers to you're roadmap? I'm currently writing unit tests for the users.service, and have had some challenges finding robust examples with typeorm, jest and nestjs.
#Love this boilerplate,
5 messages · Page 1 of 1 (latest)
This repo is worth its weight in gold.
https://github.com/jmcdo29/testing-nestjs/tree/main/apps/typeorm-sample
So helpful thanks so much!
This post has been marked as resolved. :white_check_mark:
Please read through the conversation and resolution if you are having the same issue, and then re-open the post if you are still having trouble, providing as much extra information as possible.
@hardy tulip We use e2e tests in boilerplate and it works great in our case. Currently, we don't plan to add unit tests for services or controllers because e2e tests already cover these.