-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(api): Refactor project e2e tests to be more readable #215
Conversation
PR Description updated to latest commit (62728d1) |
PR Review 🔍
|
PR Code Suggestions ✨
|
62728d1
to
4f8c178
Compare
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #215 +/- ##
============================================
+ Coverage 62.20% 91.60% +29.39%
============================================
Files 76 110 +34
Lines 1503 2465 +962
Branches 260 457 +197
============================================
+ Hits 935 2258 +1323
+ Misses 568 207 -361
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
🎉 This PR is included in version 1.4.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
PR Type
enhancement, tests
Description
ConfigModule
inapp.module.ts
.JWT_SECRET
inauth.module.ts
to enhance robustness.project.controller.ts
andproject.service.ts
for clarity.user.service.ts
to improve maintainability.Changes walkthrough 📝
app.module.ts
Simplify ConfigModule Import and Remove Redundant Comment
apps/api/src/app/app.module.ts
ConfigModule
.auth.module.ts
Add Fallback for JWT_SECRET in Auth Module
apps/api/src/auth/auth.module.ts
JWT_SECRET
environment variable.project.controller.ts
Refactor Project Fetch Method in Project Controller
apps/api/src/project/controller/project.controller.ts
getProjectByUserAndId
to
getProjectById
.project.service.ts
Rename Project Fetch Method in Project Service
apps/api/src/project/service/project.service.ts
getProjectByUserAndId
togetProjectById
to simplify the methodname.
user.service.ts
Refactor User Creation Process in User Service
apps/api/src/user/service/user.service.ts
single step.
project.e2e.spec.ts
Refactor and Enhance Project E2E Tests
apps/api/src/project/project.e2e.spec.ts
UserService
,WorkspaceService
,and
ProjectService
.