diff options
Diffstat (limited to 'src/cli/test_command.zig')
-rw-r--r-- | src/cli/test_command.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cli/test_command.zig b/src/cli/test_command.zig index bc8d7d06a..2b0f82bbd 100644 --- a/src/cli/test_command.zig +++ b/src/cli/test_command.zig @@ -561,6 +561,7 @@ pub const TestCommand = struct { Output.prettyErrorln("<r>\n{s}:\n", .{resolution.path_pair.primary.name.filename}); Output.flush(); + vm.main_hash = @truncate(u32, bun.hash(resolution.path_pair.primary.text)); var promise = try vm.loadEntryPoint(resolution.path_pair.primary.text); switch (promise.status(vm.global.vm())) { |