Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
marufrasully committed Dec 12, 2024
1 parent ca1f47b commit 8b3bf53
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/context/test/unit/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,18 @@ describe("context", () => {
.spyOn(controlIds, "getControlIds")
.mockReturnValue(new Map());
// act
const result = await getContext("path/to/xml/file", 'test-model-cache-path');
const result = await getContext(
"path/to/xml/file",
"test-model-cache-path"
);
// assert
expect(getManifestDetailsStub).toHaveBeenCalled();
expect(getManifestStub).toHaveBeenCalled();
expect(getMinimumUI5VersionSub).not.toHaveBeenCalled();
expect(getCustomViewIdStub).toHaveBeenCalled();
expect(getYamlDetailsStub).toHaveBeenCalled();
expect(getSemanticModelStub).toHaveBeenCalledWith(
'test-model-cache-path',
"test-model-cache-path",
"OpenUI5",
UI5_VERSION_S4_PLACEHOLDER
);
Expand Down

0 comments on commit 8b3bf53

Please sign in to comment.