Skip to content

Commit

Permalink
test(linter): add snapshot tester for cli (#8695)
Browse files Browse the repository at this point in the history
Our first Snapshot 🥳
  • Loading branch information
Sysix committed Jan 24, 2025
1 parent 741fb40 commit 34d3d72
Show file tree
Hide file tree
Showing 9 changed files with 323 additions and 140 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apps/oxlint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ oxc_span = { workspace = true }

bpaf = { workspace = true, features = ["autocomplete", "bright-color", "derive"] }
ignore = { workspace = true, features = ["simd-accel"] }
insta = { workspace = true }
miette = { workspace = true }
rayon = { workspace = true }
rustc-hash = { workspace = true }
Expand Down
1 change: 1 addition & 0 deletions apps/oxlint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ mod lint;
mod output_formatter;
mod result;
mod runner;
mod tester;
mod walk;

pub mod cli {
Expand Down
Loading

0 comments on commit 34d3d72

Please sign in to comment.