Fix tests for older CLIs

This commit is contained in:
Dave Bartolomeo
2023-10-06 18:35:20 -04:00
parent 705a7975c5
commit 9e26c29ddb

View File

@@ -179,6 +179,10 @@ describeWithCodeQL()("Debugger", () => {
});
it("should pass additionalArgs through to query server", async () => {
if (!(await cli.cliConstraints.supportsNewQueryServerForTests())) {
// Only works with the new query server.
return;
}
await withDebugController(appCommands, async (controller) => {
await controller.startDebugging(
{