From 8cb93b35a4fbc827f184a28a5be4ce08019d79c8 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Tue, 9 Jul 2024 12:07:32 -0400 Subject: [PATCH] Tests: Fix -noquit flag Fixes #4359 --- app/assets/commandLineHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/commandLineHandler.js b/app/assets/commandLineHandler.js index 931044f9ee..8e0f08d844 100644 --- a/app/assets/commandLineHandler.js +++ b/app/assets/commandLineHandler.js @@ -45,7 +45,7 @@ if (processTestOptions) { TestOptions.tests = cmdLine.handleFlagWithParam("test", false); TestOptions.noquit = cmdLine.handleFlag("noquit", false); TestOptions.makeTestData = cmdLine.handleFlag("makeTestData", false); - TestOptions.noquit = !TestOptions.makeTestData && this.noquit; + TestOptions.noquit = !TestOptions.makeTestData && TestOptions.noquit; TestOptions.runTests = !TestOptions.makeTestData; TestOptions.bail = cmdLine.handleFlag("bail", false); TestOptions.startAt = cmdLine.handleFlagWithParam("startAtTestFile", false);