Phase 2: Add component tests for all 8 shared frontend components#412
Merged
Phase 2: Add component tests for all 8 shared frontend components#412
Conversation
…ts for ProseMirror Agent-Logs-Url: https://github.com/AvaCodeSolutions/django-email-learning/sessions/441cafc3-06cd-4339-aade-0b3dd794af20 Co-authored-by: payamnj <[email protected]>
Copilot created this pull request from a session on behalf of
payamnj
May 5, 2026 12:12
View session
Contributor
|
@copilot the frontend test failed |
…AllMocks() Agent-Logs-Url: https://github.com/AvaCodeSolutions/django-email-learning/sessions/e825f40b-1d95-4f6f-9757-87fbd54110f9 Co-authored-by: payamnj <[email protected]>
Contributor
Author
Fixed in commit Changed those stubs to plain functions so |
Copilot stopped work on behalf of
payamnj due to an error
May 5, 2026 12:30
Copilot stopped work on behalf of
payamnj due to an error
May 5, 2026 12:31
Copilot stopped work on behalf of
payamnj due to an error
May 5, 2026 12:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
src/components/— 64 tests, all passing, 0 errorssrc/__mocks__/render.jsx— manual mock (explicitviimport)src/test/setup.js— fixed:getClientRects/getBoundingClientRectstubs are now plain functions, notvi.fn(), sovi.clearAllMocks()inbeforeEachdoesn't reset them (was causing 1 unhandled error in CI)RequiredTextField.test.jsxThemeSwitcher.test.jsxBottomDrawer.test.jsxFileUpload.test.jsxImageUpload.test.jsxMenuBar.test.jsxContentEditor.test.jsxBase.test.jsx