firefox-devtools / firefox-devtools/profiler

Change the snapshot format configuration to the default

Open
#4,215 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 5h
Merged PRs (30d)
30

Description

In #4214 when upgrading jest to v29, we changed the snapshot format to the old default. It would be good to use the new default when we don't have too much busy work happening. Especially the property to stop outputting the prototypes would make the snapshots more friendly;

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

Contributor guide

Open the contributing guide

Research direction

Locate the Jest snapshot configuration and review how snapshot output is currently set after the Jest v29 upgrade. Update it to the new default, including the setting that omits prototypes, then run the existing snapshot tests and confirm the snapshots use the new format.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing-qa
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.