aboutsummaryrefslogtreecommitdiff
path: root/src/cli/test_command.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/test_command.zig')
-rw-r--r--src/cli/test_command.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/test_command.zig b/src/cli/test_command.zig
index 77b2493d5..88942c012 100644
--- a/src/cli/test_command.zig
+++ b/src/cli/test_command.zig
@@ -327,7 +327,7 @@ pub const TestCommand = struct {
js_ast.Expr.Data.Store.create(default_allocator);
js_ast.Stmt.Data.Store.create(default_allocator);
var vm = try JSC.VirtualMachine.init(ctx.allocator, ctx.args, null, ctx.log, env_loader);
- vm.argv = ctx.positionals;
+ vm.argv = ctx.passthrough;
try vm.bundler.configureDefines();
vm.bundler.options.rewrite_jest_for_tests = true;