Skip to content

Commit

Permalink
fix: failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marufrasully committed Nov 26, 2024
1 parent 5d4795b commit a1cc24a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/logic-utils/test/unit/ui5.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe("getVersionInfoUrl", () => {
DEFAULT_UI5_VERSION
);
expect(result).toStrictEqual(
"https://ui5.sap.com/1.71.70/resources/sap-ui-version.json"
"https://ui5.sap.com/1.71.72/resources/sap-ui-version.json"
);
});
it("get version info uri for OpenUI5", async () => {
Expand All @@ -81,7 +81,7 @@ describe("getVersionInfoUrl", () => {
DEFAULT_OPEN_UI5_VERSION
);
expect(result).toStrictEqual(
"https://sdk.openui5.org/1.71.67/resources/sap-ui-version.json"
"https://sdk.openui5.org/1.71.68/resources/sap-ui-version.json"
);
});
});
Expand All @@ -93,7 +93,7 @@ it("getLibraryAPIJsonUrl", async () => {
"sap.m"
);
expect(result).toStrictEqual(
"https://ui5.sap.com/1.71.70/test-resources/sap/m/designtime/api.json"
"https://ui5.sap.com/1.71.72/test-resources/sap/m/designtime/api.json"
);
});

Expand All @@ -117,7 +117,7 @@ describe("getVersionsMap", () => {
it("get version map for OpenUI5 - fallback default", async () => {
const data = {
latest: {
version: "1.71.67",
version: "1.71.68",
support: "Maintenance",
lts: true,
},
Expand Down
4 changes: 2 additions & 2 deletions test-packages/test-utils/src/utils/semantic-model-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const MODEL_CACHE: Record<TestModelVersion, UI5SemanticModel> =
Object.create(null);

const fixes: Record<TestModelVersion, TypeNameFix> = {
"1.71.70": {
"1.71.72": {
array: "any[]",
Array: "any[]",
bloolean: undefined,
Expand Down Expand Up @@ -258,7 +258,7 @@ type LibraryFix = (content: Json) => void;

// Library version -> library name -> fix function
const libraryFixes: Record<TestModelVersion, Record<string, LibraryFix[]>> = {
"1.71.70": {},
"1.71.72": {},
"1.84.41": {},
"1.96.27": {
"sap.ui.mdc": [
Expand Down

0 comments on commit a1cc24a

Please sign in to comment.