📎 Small refactor for the test infrastructure of biome_cli
#669
Labels
A-CLI
Area: CLI
A-Tooling
Area: internal tools
good first issue
Good for newcomers
S-Help-wanted
Status: you're familiar with the code base and want to help the project
Description
I recently created a small utility:
biome/crates/biome_cli/tests/snap_test.rs
Lines 357 to 370 in 52dae46
This utility is used to make assertions around file contents easier and less code repetition.
The task is to replace code like this:
biome/crates/biome_cli/tests/commands/format.rs
Lines 135 to 145 in 52dae46
And replace it with the usage of the utility.
If/when working on it, search for
drop(
inside the tests, and that's where you want to do the substitution.All tests must pass, and all snapshots must stay the same. If anything changes, something went wrong.
The text was updated successfully, but these errors were encountered: