Skip to content

Commit 0ecde78

Browse files
committed
Fix test comments
1 parent e07208b commit 0ecde78

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

.vscode/settings.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,22 +45,26 @@
4545

4646
// These options are used by the `jestrunner.debug` command.
4747
// They are not used by the `jestrunner.run` command.
48+
// After clicking "debug" over a test, continually invoke the
49+
// "Debug: Attach to Node Process" command until you see a
50+
// process named "Code Helper (Plugin)". Then click "attach".
51+
// This will attach the debugger to the test process.
4852
"jestrunner.debugOptions": {
4953
// Uncomment to debug integration tests
50-
// "attachSimplePort": 9223,
54+
"attachSimplePort": 9223,
5155
"env": {
5256
"LANG": "en-US",
5357
"TZ": "UTC",
5458

5559
// Uncomment to set a custom path to a CodeQL checkout.
56-
// "TEST_CODEQL_PATH": "../codeql",
60+
// "TEST_CODEQL_PATH": "/absolute/path/to/checkout/of/codeql",
5761

5862
// Uncomment to set a custom path to a CodeQL CLI executable.
5963
// This is the CodeQL version that will be used in the tests.
60-
// "CLI_PATH": "/path/to/customg/codeql",
64+
// "CLI_PATH": "/absolute/path/to/custom/codeql",
6165

6266
// Uncomment to debug integration tests
63-
// "VSCODE_WAIT_FOR_DEBUGGER": "true",
67+
"VSCODE_WAIT_FOR_DEBUGGER": "true",
6468
}
6569
},
6670
"terminal.integrated.env.linux": {

extensions/ql-vscode/test/vscode-tests/cli-integration/queries.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ describeWithCodeQL()("Queries", () => {
110110
it("should run a query that has an extension without looking for extensions in the workspace", async () => {
111111
if (!(await supportsExtensionPacks())) {
112112
console.log(
113-
`Skipping test because it is only supported for CodeQL CLI versions < ${CliVersionConstraint.CLI_VERSION_WITH_QLPACKS_KIND}`,
113+
`Skipping test because it is only supported for CodeQL CLI versions >= ${CliVersionConstraint.CLI_VERSION_WITH_QLPACKS_KIND}`,
114114
);
115115
return;
116116
}
@@ -135,7 +135,7 @@ describeWithCodeQL()("Queries", () => {
135135
return true;
136136
}
137137
console.log(
138-
`Skipping test because it is only supported for CodeQL CLI versions < ${CliVersionConstraint.CLI_VERSION_WITH_QLPACKS_KIND}`,
138+
`Skipping test because it is only supported for CodeQL CLI versions >= ${CliVersionConstraint.CLI_VERSION_WITH_QLPACKS_KIND}`,
139139
);
140140
return false;
141141
}

0 commit comments

Comments
 (0)