diff options
Diffstat (limited to 'src/cli/test_command.zig')
-rw-r--r-- | src/cli/test_command.zig | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/cli/test_command.zig b/src/cli/test_command.zig index bbbd36dc7..75ac87e5d 100644 --- a/src/cli/test_command.zig +++ b/src/cli/test_command.zig @@ -549,8 +549,6 @@ const Scanner = struct { pub const TestCommand = struct { pub const name = "test"; - pub const old_name = "wiptest"; - pub const CodeCoverageOptions = struct { skip_test_files: bool = !Environment.allow_assert, fractions: bun.sourcemap.CoverageFraction = .{}, @@ -565,11 +563,7 @@ pub const TestCommand = struct { Output.is_github_action = Output.isGithubAction(); // print the version so you know its doing stuff if it takes a sec - if (strings.eqlComptime(ctx.positionals[0], old_name)) { - Output.prettyErrorln("<r><b>bun wiptest <r><d>v" ++ Global.package_json_version_with_sha ++ "<r>", .{}); - } else { - Output.prettyErrorln("<r><b>bun test <r><d>v" ++ Global.package_json_version_with_sha ++ "<r>", .{}); - } + Output.prettyErrorln("<r><b>bun test <r><d>v" ++ Global.package_json_version_with_sha ++ "<r>", .{}); Output.flush(); var env_loader = brk: { @@ -738,7 +732,8 @@ pub const TestCommand = struct { if (scanner.filter_names.len == 0 and test_files.len == 0) { Output.prettyErrorln( - \\<b><yellow>No tests found<r>! Tests need ".test", "_test_", ".spec" or "_spec_" in the filename <d>(ex: "MyApp.test.ts")<r> + \\<b><yellow>No tests found!<r> + \\Tests need ".test", "_test_", ".spec" or "_spec_" in the filename <d>(ex: "MyApp.test.ts")<r> \\ , .{}, |