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 d4240b3 commit 99c9438
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ describe("Check installation", () => {
extension.postExtension();

const response = await client.isExtensionInstalled();

expect(response).toEqual(extension.extensionId);
// extension.extensionId
expect(response).toEqual(1);

Check failure on line 70 in src/client.test.ts

View workflow job for this annotation

GitHub Actions / test

src/client.test.ts > Check installation > Should return extension id if installed

AssertionError: expected '127c2d4f-8680-499f-8aa0-4312f2569c2c' to deeply equal 1 - Expected: 1 + Received: "127c2d4f-8680-499f-8aa0-4312f2569c2c" ❯ src/client.test.ts:70:22
});

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

/**
Expand Down

0 comments on commit 99c9438

Please sign in to comment.