Skip to content

Unit Test refactor#2660

Open
trtshen wants to merge 26 commits intotrunkfrom
unit-test-reinstate
Open

Unit Test refactor#2660
trtshen wants to merge 26 commits intotrunkfrom
unit-test-reinstate

Conversation

@trtshen
Copy link
Copy Markdown
Collaborator

@trtshen trtshen commented Apr 3, 2026

Coverage updates:

TOTAL: 1343 SUCCESS

=============================== Coverage summary ===============================
Statements   : 64.55% ( 4936/7646 )
Branches     : 58.01% ( 1954/3368 )
Functions    : 60.22% ( 1075/1785 )
Lines        : 64.8% ( 4843/7473 )
================================================================================
Screenshot 2026-04-03 at 1 40 22 PM

trtshen added 25 commits March 20, 2025 14:39
- refactor fast-feedback.service to use lazy loading for notifications
- update home.service.spec to include additional service mocks
- enhance hubspot.service.spec with experience object handling
- modify ngx-embed-video.service.spec for dynamic id generation
- adjust notifications.service to use dynamic imports for components
- revise review.service.spec to align with new modal method
- fix unlock-indicator.service.spec to use correct subject
- update utils.service.spec to improve mobile detection logic
- enhance mocked.service and utils.ts for better test coverage
…ic pages

- implement tests for date formatting and calendar URL generation
- enhance review desktop page tests for various scenarios
- improve settings page tests with modal and user profile updates
- add tests for tabs page functionality and keyboard navigation
- include topic mobile page tests for task handling and navigation
- add ModalController provider to TopicComponent and HomePage specs
- fix popUpReviewRating calls to use notificationsService instead of reviewService
- add assessmentSubmittedToast to NotificationsService spy in assessment spec
- fix boolean return type in chat-preview isBrowserSupportedVideo
- fix chat-room spec duplicate spyOn and isQuillContentEmpty mock
- update multi-team-member-selector expected value to plain array
- update multiple component review answer to array format
- fix assessment service spec: add projectBrief, hasReviewRating, correct status
- add null-safe access for form.nativeElement in assessment component
- add team$ observable to SharedService spy in home page spec
- fix topic component spec spy reuse and remove wrong expectation
- add showProjectHub to featureToggle in auth-registration spec and fixtures
- fix pusher service spec missing closing bracket
- fix activity component spec type cast for getTeamInfo observable
- implement tests for handling pristine and dirty states
- normalize non-array answers in review and assessment modes
- preserve control values when dirty in both modes
- add tests for default input values in bottom action bar
- implement click event handling tests in bottom action bar
- add review mode tests for file upload component
- enhance multi-team member selector tests for selection logic
- implement trigger save tests in multiple component
- add tests for oneof component save actions and audience checks
- enhance slider component tests for save actions and display logic
- add team member selector tests for save actions and display logic
- implement text component tests for saved answers handling
@trtshen trtshen self-assigned this Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant