firefox-devtools / firefox-devtools/profiler

Re-organize fixtures and util functions in tests.

Open
#862 2 comments 0 reactions 0 assignees View on GitHub
code maintenance tests
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 5h
Merged PRs (30d)
30

Description

Right now everything is shoved in fixtures. Perhaps we could organize them better with `src/test/utils/` and maybe re-organize things to be more consolidated in files. It feels really messy right now on how we organize and store things.

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

Contributor guide

Open the contributing guide

Research direction

Start by inventorying the existing fixtures and utility functions under the test setup, then compare them with the proposed src/test/utils/ location. Done means the test helpers are organized into a consolidated, understandable structure without breaking the existing test suite.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.