Skip to content

Commit

Permalink
testing check failure
Browse files Browse the repository at this point in the history
  • Loading branch information
HunnySajid committed Sep 12, 2024
1 parent 99c9438 commit de891f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ describe("Check installation", () => {
extension.postExtension();

const response = await client.isExtensionInstalled();
// extension.extensionId
expect(response).toEqual(1);
expect(response).toEqual(extension.extensionId);
});

test("Should return false if not installed", async () => {
Expand Down
5 changes: 2 additions & 3 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,8 @@ export class ExtensionClient {
*
* @see Template for [Vendor Loaded JSON](https://api.npoint.io/52639f849bb31823a8c0)
*/
configureVendor = async (payload?: ConfigureVendorArgs): Promise<number> => {
this.sendMessage("/signify/configure-vendor", { payload });
return "str";
configureVendor = async (payload?: ConfigureVendorArgs): Promise<void> => {
return this.sendMessage("/signify/configure-vendor", { payload });
};

/**
Expand Down

0 comments on commit de891f4

Please sign in to comment.