Add -u alias to bun test (#10097)

Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
This commit is contained in:
silverwind
2024-07-10 01:53:35 +02:00
committed by GitHub
parent 87296405a7
commit f1a748fcab

View File

@@ -244,7 +244,7 @@ pub const Arguments = struct {
// TODO: update test completions
const test_only_params = [_]ParamType{
clap.parseParam("--timeout <NUMBER> Set the per-test timeout in milliseconds, default is 5000.") catch unreachable,
clap.parseParam("--update-snapshots Update snapshot files") catch unreachable,
clap.parseParam("-u, --update-snapshots Update snapshot files") catch unreachable,
clap.parseParam("--rerun-each <NUMBER> Re-run each test file <NUMBER> times, helps catch certain bugs") catch unreachable,
clap.parseParam("--only Only run tests that are marked with \"test.only()\"") catch unreachable,
clap.parseParam("--todo Include tests that are marked with \"test.todo()\"") catch unreachable,