firefox-devtools / firefox-devtools/profiler

Test coverage for src/components/app

Open
#733 2 comments 0 reactions 0 assignees View on GitHub
code maintenance help wanted tests
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

In trying to find our worst offenders for test coverage, [src/components/app/](https://codecov.io/gh/devtools-html/perf.html/tree/dde68013d994ec113c7513f85f2b0eadee9af2cf/src/components/app) stands out as being particularly bad. We might need to take on [enzyme](https://github.com/airbnb/enzyme) as a dependency and shallow rendering to properly deal with some of these components.

Files ordered by lines uncovered:

* [ ] Root.js (77 lines uncovered)
* [ ] ProfileSharing.js (67 lines uncovered)
* [ ] ProfileViewer.js (40 lines uncovered)
* [ ] UrlManager.js (32 lines uncovered)
* [ ] Home.js (27 lines uncovered)
* [ ] SymbolicationStatusOverlay.js (23 lines uncovered)
* [ ] TabBar.js (17 lines uncovered)
* [ ] ProfileFilterNavigator.js (9 lines uncovered)
* [ ] FooterLinks.js (3 lines uncovered)
* [ ] Initializing.js (2 lines uncovered)

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-692)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.