diff options
author | 2023-01-12 12:49:36 -0800 | |
---|---|---|
committer | 2023-01-12 12:49:36 -0800 | |
commit | 76e6a178e3a0f1f12f42cd9980349e18145258f2 (patch) | |
tree | b59b96e18c910fc4c748466a84b08c5f889eb89e /src/bun.js | |
parent | bb5efb67ab28849a28d0d41939734dc6336c40c0 (diff) | |
download | bun-76e6a178e3a0f1f12f42cd9980349e18145258f2.tar.gz bun-76e6a178e3a0f1f12f42cd9980349e18145258f2.tar.zst bun-76e6a178e3a0f1f12f42cd9980349e18145258f2.zip |
fix(bun-test): test title in results (#1753)
* fix(bun-test): test title in results
* missed case
* clean up import
* respond to reviews
Diffstat (limited to 'src/bun.js')
-rw-r--r-- | src/bun.js/test/jest.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/test/jest.zig b/src/bun.js/test/jest.zig index 00c8148b2..37c4c79cb 100644 --- a/src/bun.js/test/jest.zig +++ b/src/bun.js/test/jest.zig @@ -1737,7 +1737,7 @@ pub const DescribeScope = struct { var scope = allocator.create(DescribeScope) catch unreachable; scope.* = .{ .label = (label.toSlice(allocator).cloneIfNeeded(allocator) catch unreachable).slice(), - .parent = this, + .parent = active orelse this, .file_id = this.file_id, }; var new_this = DescribeScope.Class.make(ctx, scope); |