Skip to content

Commit cbf1f7b

Browse files
committed
Update test.
1 parent 42335c9 commit cbf1f7b

File tree

1 file changed

+21
-21
lines changed
  • extensions/ql-vscode/test/unit-tests/data-extensions-editor

1 file changed

+21
-21
lines changed

extensions/ql-vscode/test/unit-tests/data-extensions-editor/bqrs.test.ts

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,27 @@ describe("decodeBqrsToExternalApiUsages", () => {
157157
// - Iterating over a map (as done by .values()) is guaranteed to be in insertion order
158158
// - Sorting the array of usages is guaranteed to be a stable sort
159159
expect(decodeBqrsToExternalApiUsages(chunk)).toEqual([
160+
{
161+
signature:
162+
"org.springframework.boot.SpringApplication#run(Class,String[])",
163+
packageName: "org.springframework.boot",
164+
typeName: "SpringApplication",
165+
methodName: "run",
166+
methodParameters: "(Class,String[])",
167+
supported: false,
168+
usages: [
169+
{
170+
label: "run(...)",
171+
url: {
172+
uri: "file:/home/runner/work/sql2o-example/sql2o-example/src/main/java/org/example/Sql2oExampleApplication.java",
173+
startLine: 9,
174+
startColumn: 9,
175+
endLine: 9,
176+
endColumn: 66,
177+
},
178+
},
179+
],
180+
},
160181
{
161182
signature: "org.sql2o.Connection#createQuery(String)",
162183
packageName: "org.sql2o",
@@ -267,27 +288,6 @@ describe("decodeBqrsToExternalApiUsages", () => {
267288
},
268289
],
269290
},
270-
{
271-
signature:
272-
"org.springframework.boot.SpringApplication#run(Class,String[])",
273-
packageName: "org.springframework.boot",
274-
typeName: "SpringApplication",
275-
methodName: "run",
276-
methodParameters: "(Class,String[])",
277-
supported: false,
278-
usages: [
279-
{
280-
label: "run(...)",
281-
url: {
282-
uri: "file:/home/runner/work/sql2o-example/sql2o-example/src/main/java/org/example/Sql2oExampleApplication.java",
283-
startLine: 9,
284-
startColumn: 9,
285-
endLine: 9,
286-
endColumn: 66,
287-
},
288-
},
289-
],
290-
},
291291
{
292292
signature: "org.sql2o.Sql2o#Sql2o(String,String,String)",
293293
packageName: "org.sql2o",

0 commit comments

Comments
 (0)