Skip to content

Commit

Permalink
Fix fdc3Version in ComposeUIDesktopAgent.getInfo()
Browse files Browse the repository at this point in the history
  • Loading branch information
kruplm committed Jul 5, 2023
1 parent 702a968 commit 7f60a89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/shell/js/composeui-fdc3/src/ComposeUIDesktopAgent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export class ComposeUIDesktopAgent implements DesktopAgent {
public getInfo(): Promise<ImplementationMetadata> {
return new Promise<ImplementationMetadata>((resolve) => {
const metadata = {
fdc3Version: "2.0.0",
fdc3Version: "2.0",
provider: "ComposeUI",
providerVersion: "0.1.0-alpha.1", //TODO: version check
optionalFeatures: {
Expand Down
2 changes: 1 addition & 1 deletion src/shell/js/composeui-fdc3/src/Fdc3ComposeUI.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ describe('Tests for ComposeUIDesktopAgent implementation API', () => {
it('getInfo will provide information of ComposeUI', async() => {
const testDesktopAgent = new ComposeUIDesktopAgent("dummyPath", messageRouterClient);
var result = await testDesktopAgent.getInfo();
expect(result.fdc3Version).toBe("2.0.0");
expect(result.fdc3Version).toBe("2.0");
expect(result.provider).toBe("ComposeUI");
});

Expand Down

0 comments on commit 7f60a89

Please sign in to comment.