Closed Bug 2024070 Opened 8 months ago Closed 2 months ago

Migrate common/ Enzyme unit tests

Categories

(Firefox :: New Tab Page, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: maxx, Assigned: thecount)

References

Details

Attachments

(1 external file, 1 obsolete file)

Remove the following Enzyme/Mocha/Karma unit test files that are superseded by RTL/Jest tests:

  • test/unit/common/Actions.test.js
  • test/unit/common/Reducers.test.js

Blocks: 2018692

Converts Actions.test.js and Reducers.test.js to use Jest assertions (expect/toBe/toEqual) in place of Chai (assert.*). Removes the old test/unit/common/ files.

Attachment #9556134 - Attachment is obsolete: true
Type: task → enhancement
Summary: Remove common/ Enzyme unit tests → Migrate common/ Enzyme unit tests
Blocks: 2062310
No longer blocks: 2018692
Assignee: nobody → sdowne
Attachment #9624953 - Attachment description: WIP: Bug 2024070 - Migrate common/Actions.test.js to Jest. → Bug 2024070 - Migrate common/Actions.test.js to Jest. r?Dre
Status: NEW → ASSIGNED
Attachment #9624953 - Attachment description: Bug 2024070 - Migrate common/Actions.test.js to Jest. r?Dre → Bug 2024070 - Migrate common/Actions.test.js to Jest. r?reemhamz
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
QA Whiteboard: [qa-triage-done-c159/b158]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: