diff options
author | 2023-08-06 06:13:39 -0700 | |
---|---|---|
committer | 2023-08-06 06:13:39 -0700 | |
commit | cd0774cd89f44ae3880ae5d3840787012d9df603 (patch) | |
tree | b1285dd26a5134b227f56afcc58c8e2b519fd3a1 /src/cli/test_command.zig | |
parent | cf8650937aa03b7410c24675868eec36b7e2f390 (diff) | |
download | bun-cd0774cd89f44ae3880ae5d3840787012d9df603.tar.gz bun-cd0774cd89f44ae3880ae5d3840787012d9df603.tar.zst bun-cd0774cd89f44ae3880ae5d3840787012d9df603.zip |
Implement --test-name-pattern (#3998)
* Fix end not being emitted all the time
* stuff
* Implement -t
* Undo js_printer changes
* Undo http changes
* Update InternalModuleRegistryConstants.h
* Delete unrelated test
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'src/cli/test_command.zig')
-rw-r--r-- | src/cli/test_command.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cli/test_command.zig b/src/cli/test_command.zig index 14eca012e..819aceb19 100644 --- a/src/cli/test_command.zig +++ b/src/cli/test_command.zig @@ -457,6 +457,8 @@ pub const TestCommand = struct { .run_todo = ctx.test_options.run_todo, .only = ctx.test_options.only, .bail = ctx.test_options.bail, + .filter_regex = ctx.test_options.test_filter_regex, + .filter_buffer = bun.MutableString.init(ctx.allocator, 0) catch unreachable, .snapshots = Snapshots{ .allocator = ctx.allocator, .update_snapshots = ctx.test_options.update_snapshots, |