-
-
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: Refactor workspace role e2e tests #248
Conversation
PR Review 🔍
|
PR Code Suggestions ✨
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #248 +/- ##
===========================================
- Coverage 91.71% 90.61% -1.11%
===========================================
Files 111 113 +2
Lines 2510 2737 +227
Branches 469 524 +55
===========================================
+ Hits 2302 2480 +178
- Misses 208 257 +49
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Quality Gate passedIssues Measures |
🎉 This PR is included in version 2.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
PR Type
Tests, Enhancement
Description
workspace-role.e2e.spec.ts
to useUserService
for user creation, improving test setup and teardown withbeforeEach
andafterEach
hooks.workspace-role.e2e.spec.ts
.workspace-role.e2e.spec.ts
to align with the new setup.cleanUp
import and call inafterAll
inworkspace.e2e.spec.ts
.Changes walkthrough 📝
workspace-role.e2e.spec.ts
Refactor workspace role e2e tests for improved setup
apps/api/src/workspace-role/workspace-role.e2e.spec.ts
UserService
.beforeEach
andafterEach
hooks for test setup and teardown.workspace.e2e.spec.ts
Remove cleanup call in workspace e2e tests
apps/api/src/workspace/workspace.e2e.spec.ts
cleanUp
import and call inafterAll
.