Skip to content

Commit 12abf81

Browse files
starckecharisk
andauthored
Apply suggestions from code review
Co-authored-by: Charis Kyriakou <charisk@users.noreply.github.com>
1 parent f6c492d commit 12abf81

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

extensions/ql-vscode/test/unit-tests/data-extensions-editor/auto-model-v2.test.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ describe("createAutoModelV2Request", () => {
8585
});
8686

8787
describe("getCandidates", () => {
88-
it("doesnt return methods that are already modelled", () => {
88+
it("doesn't return methods that are already modelled", () => {
8989
const externalApiUsages: ExternalApiUsage[] = [];
9090
externalApiUsages.push({
9191
library: "my.jar",
@@ -119,7 +119,8 @@ describe("getCandidates", () => {
119119
);
120120
expect(candidates.length).toEqual(0);
121121
});
122-
it("doesnt return methods that are supported from other sources", () => {
122+
123+
it("doesn't return methods that are supported from other sources", () => {
123124
const externalApiUsages: ExternalApiUsage[] = [];
124125
externalApiUsages.push({
125126
library: "my.jar",
@@ -140,7 +141,8 @@ describe("getCandidates", () => {
140141
);
141142
expect(candidates.length).toEqual(0);
142143
});
143-
it("return methods that neither modeled nor supported from other sources", () => {
144+
145+
it("returns methods that are neither modeled nor supported from other sources", () => {
144146
const externalApiUsages: ExternalApiUsage[] = [];
145147
externalApiUsages.push({
146148
library: "my.jar",
@@ -161,6 +163,7 @@ describe("getCandidates", () => {
161163
);
162164
expect(candidates.length).toEqual(1);
163165
});
166+
164167
it("respects the limit", () => {
165168
const externalApiUsages: ExternalApiUsage[] = [];
166169
for (let i = 0; i < 30; i++) {

0 commit comments

Comments
 (0)