Closed
Bug 2024073
Opened 8 months ago
Closed 1 month ago
Remove Enzyme/Karma test infrastructure
Categories
(Firefox :: New Tab Page, task)
Firefox
New Tab Page
Tracking
()
RESOLVED
FIXED
159 Branch
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: maxx, Assigned: rhamoui)
References
(Blocks 1 open bug)
Details
Attachments
(2 external files, 1 obsolete file)
Now that all Enzyme/Mocha/Karma unit tests have been removed (bugs 2024070, 2024071, 2024072), remove the supporting infrastructure:
- karma.mc.config.js
- test/unit/unit-entry.js
- test/unit/utils.js
- test/vendor/react-dom-test-utils.js
- Remove karma/enzyme/mocha/sinon devDependencies from package.json
- Remove testmc:unit and tddmc scripts from package.json and yamscripts.yml
- Remove test/unit/** eslint overrides from .eslintrc.mjs
- Remove karma() function from bin/try-runner.js
- Update AGENTS.md to remove Karma/Enzyme/Sinon references
Blocks: 2018692
| Reporter | ||
Comment 1•7 months ago
|
||
Updated•7 months ago
|
Attachment #9556140 -
Attachment is obsolete: true
Updated•2 months ago
|
Assignee: nobody → rhamoui
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•1 month ago
|
||
Updated•1 month ago
|
Attachment #9650822 -
Attachment description: WIP: Bug 2024073 - Remove Karma tests infrastructure. → WIP: Bug 2024073 - Stop running karma in newtab CI and report Jest coverage instead. ?thecount
Updated•1 month ago
|
Attachment #9650822 -
Attachment description: WIP: Bug 2024073 - Stop running karma in newtab CI and report Jest coverage instead. ?thecount → Bug 2024073 - Stop running karma in newtab CI and report Jest coverage instead. r?thecount
| Assignee | ||
Comment 3•1 month ago
|
||
Pushed by rhamoui@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/28ecce56c75b
https://hg.mozilla.org/integration/autoland/rev/f65874e2cced
Stop running karma in newtab CI and report Jest coverage instead. r=thecount
https://github.com/mozilla-firefox/firefox/commit/0a253a03a81e
https://hg.mozilla.org/integration/autoland/rev/51e8ca9cd38a
Remove Karma tests infrastructure. r=thecount,frontend-codestyle-reviewers,ai4dev-reviewers,suhaib,mossop
Comment 5•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f65874e2cced
https://hg.mozilla.org/mozilla-central/rev/51e8ca9cd38a
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox159:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
Updated•1 month ago
|
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in
before you can comment on or make changes to this bug.
Description
•