Closed Bug 1939918 Opened 2 months ago Closed 2 months ago

Remove `newtab/test/unit/utils` dependancy in aboutwelcome and asrouter karma unit tests

Categories

(Firefox :: Messaging System, task, P2)

task
Points:
3

Tracking

()

RESOLVED FIXED
136 Branch
Iteration:
136.1 - Jan 6 - Jan 17
Tracking Status
firefox136 --- fixed

People

(Reporter: pdahiya, Assigned: pdahiya)

References

(Blocks 1 open bug)

Details

(Whiteboard: [hnt-trainhop] )

Attachments

(1 file)

Scope of this bug is to remove aboutwelcome and asrouter karma unit tests dependency on newtb/test/unit/utils.js

It's currently used in below messaging system karma tests
https://searchfox.org/mozilla-central/search?q=newtab%2Ftest&path=aboutwelcome&case=false&regexp=false
https://searchfox.org/mozilla-central/search?q=test%2Funit%2Futils&path=asrouter&case=false&regexp=false

This can be done by creating utils.js under asrouter/tests/unit/utils.js with only functions needed by messaging system karma tests

Blocks: 1937151
Whiteboard: [hnt-trainhop]
Priority: -- → P2
Assignee: nobody → pdahiya
Iteration: --- → 136.1 - Jan 6 - Jan 17
Pushed by pdahiya@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/95ad59c29198 Remove newtab utils dependancy in aboutwelcome and asrouter karma unit tests r=omc-reviewers,mconley,emcminn
Points: --- → 3
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Regressions: 1950174
No longer regressions: 1950174
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: