Closed Bug 1575823 Opened 5 years ago Closed 5 years ago

Enable support for `l10n.getString()` in jest tests

Categories

(DevTools :: Application Panel, enhancement, P1)

enhancement

Tracking

(firefox70 fixed)

RESOLVED FIXED
Firefox 70
Tracking Status
firefox70 --- fixed

People

(Reporter: ladybenko, Assigned: ladybenko)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

We need to provide a mock for the shared fluent-l10n module in the Jest tests so we can use l10n.getString() in our code and make tests for it.

Pushed by balbeza@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8f6e40f9a0ad Enable support for l10n.getString in tests r=Ola
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: