Closed Bug 2084549 Opened 1 month ago Closed 1 month ago

Add test helpers for Redux inside a tab

Categories

(Thunderbird :: Mail Window Front End, task)

Thunderbird 160
task

Tracking

(Not tracked)

RESOLVED FIXED
161 Branch

People

(Reporter: freaktechnik, Assigned: freaktechnik)

References

(Blocks 1 open bug)

Details

Attachments

(3 external files, 1 obsolete file)

We often run mochitests against a document in a tab. When we do that, the redux store will exist within the tab and as such be hard to interact with from the test context. We should have some test helpers that simplify these interactions.

Use theskip-private-members plugin, which marks private members as undocumented, instead of annotating each method.

Add the remaining plugins from Firefox's docs/jsdoc-plugins, so we use the
same set. The TypeScript type syntax our comments use no longer trips up
jsdoc, so files excluded only for that can be documented again, and Markdown
code spans and {@link} tags in descriptions render properly through sphinx-js.

Remove the source excludes for files that now produce no jsdoc errors,
warnings or conflicting sphinx-js paths, and for files that no longer exist.

Attachment #9665908 - Attachment is obsolete: true
Target Milestone: --- → 161 Branch

Pushed by daniel@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/c926cab437f5
Use the Firefox jsdoc plugin that skips private class members. r=freaktechnik
https://hg.mozilla.org/comm-central/rev/e76b4b7a62f2
Use more of the Firefox jsdoc plugins and drop excludes that are no longer needed. r=freaktechnik

Pushed by daniel@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/841516f6d8ec
Add test helpers for Redux testing in a tab. r=arschmitz

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: