Closed Bug 2024073 Opened 8 months ago Closed 1 month ago

Remove Enzyme/Karma test infrastructure

Categories

(Firefox :: New Tab Page, task)

task

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

Attachment #9556140 - Attachment is obsolete: true
Assignee: nobody → rhamoui
Status: NEW → ASSIGNED
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
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
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
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch
QA Whiteboard: [qa-triage-done-c160/b159]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: