diff --git a/extensions/ql-vscode/test/unit-tests/data-extensions-editor/bqrs.test.ts b/extensions/ql-vscode/test/unit-tests/data-extensions-editor/bqrs.test.ts index 09b636a11..99317ceda 100644 --- a/extensions/ql-vscode/test/unit-tests/data-extensions-editor/bqrs.test.ts +++ b/extensions/ql-vscode/test/unit-tests/data-extensions-editor/bqrs.test.ts @@ -157,6 +157,27 @@ describe("decodeBqrsToExternalApiUsages", () => { // - Iterating over a map (as done by .values()) is guaranteed to be in insertion order // - Sorting the array of usages is guaranteed to be a stable sort expect(decodeBqrsToExternalApiUsages(chunk)).toEqual([ + { + signature: + "org.springframework.boot.SpringApplication#run(Class,String[])", + packageName: "org.springframework.boot", + typeName: "SpringApplication", + methodName: "run", + methodParameters: "(Class,String[])", + supported: false, + usages: [ + { + label: "run(...)", + url: { + uri: "file:/home/runner/work/sql2o-example/sql2o-example/src/main/java/org/example/Sql2oExampleApplication.java", + startLine: 9, + startColumn: 9, + endLine: 9, + endColumn: 66, + }, + }, + ], + }, { signature: "org.sql2o.Connection#createQuery(String)", packageName: "org.sql2o", @@ -267,27 +288,6 @@ describe("decodeBqrsToExternalApiUsages", () => { }, ], }, - { - signature: - "org.springframework.boot.SpringApplication#run(Class,String[])", - packageName: "org.springframework.boot", - typeName: "SpringApplication", - methodName: "run", - methodParameters: "(Class,String[])", - supported: false, - usages: [ - { - label: "run(...)", - url: { - uri: "file:/home/runner/work/sql2o-example/sql2o-example/src/main/java/org/example/Sql2oExampleApplication.java", - startLine: 9, - startColumn: 9, - endLine: 9, - endColumn: 66, - }, - }, - ], - }, { signature: "org.sql2o.Sql2o#Sql2o(String,String,String)", packageName: "org.sql2o",