-
- Downloads
Add unit tests for UserModule (#48)
* add user entity tests
* add boilerplate for controller and service tests
* add tests for user controller
* add tests for user service
* Fix tests
* Refactor mocks
---------
Co-authored-by:
Florian Raith <florianraith00@gmail.com>
Showing
- src/auth/auth.service.ts 2 additions, 2 deletionssrc/auth/auth.service.ts
- src/user/mock/user.repository.mock.ts 39 additions, 0 deletionssrc/user/mock/user.repository.mock.ts
- src/user/mock/user.service.mock.ts 42 additions, 0 deletionssrc/user/mock/user.service.mock.ts
- src/user/user.controller.spec.ts 188 additions, 0 deletionssrc/user/user.controller.spec.ts
- src/user/user.entity.spec.ts 43 additions, 0 deletionssrc/user/user.entity.spec.ts
- src/user/user.service.spec.ts 207 additions, 0 deletionssrc/user/user.service.spec.ts
- src/user/user.service.ts 10 additions, 3 deletionssrc/user/user.service.ts
- test/utils.ts 36 additions, 0 deletionstest/utils.ts
Loading
Please register or sign in to comment