diff --git a/tests/identity/create.test.ts b/tests/identity/create.test.ts index f764abc..03024a3 100644 --- a/tests/identity/create.test.ts +++ b/tests/identity/create.test.ts @@ -10,7 +10,7 @@ describe("module: create-identity", () => { "provider": "pay", "default": { "address": "0x10D98B111bee373Eef82C2ae301C867bB002A312", - "chain": 2, + "chain": 1, "isMultisig": false, "isSmartContractWallet": true }, @@ -28,4 +28,5 @@ describe("module: create-identity", () => { } }); expect(ID).toBeDefined(); - })}); \ No newline at end of file + }) +}); \ No newline at end of file diff --git a/tests/identity/generate-message.test.ts b/tests/identity/generate-message.test.ts index edcbd38..b148347 100644 --- a/tests/identity/generate-message.test.ts +++ b/tests/identity/generate-message.test.ts @@ -10,7 +10,7 @@ describe("module: generate-message", () => { "provider": "pay", "default": { "address": "0x10D98B111bee373Eef82C2ae301C867bB002A312", - "chain": 2, + "chain": 1, "isMultisig": false, "isSmartContractWallet": true }, @@ -22,7 +22,7 @@ describe("module: generate-message", () => { "isSmartContractWallet": false } ] - } + } ) console.log(message); expect(message).toBeDefined(); diff --git a/tests/identity/get.test.ts b/tests/identity/get.test.ts index 79e3772..139b454 100644 --- a/tests/identity/get.test.ts +++ b/tests/identity/get.test.ts @@ -5,14 +5,12 @@ describe("module: get-identity", () => { const fetcch = new Fetcch("4ff9ecc8-4537-4e2e-950d-0cefbd16f2a5") test("get identity by a handle", async () => { - try { const ID = await fetcch.identity.get("vpay"); console.log(ID); expect(ID).toBeDefined(); } catch (error: AxiosError | any) { - console.log("error", error.response); // expect(error).toBeDefined() } diff --git a/tests/identity/update.test.ts b/tests/identity/update.test.ts index cde860d..0db200b 100644 --- a/tests/identity/update.test.ts +++ b/tests/identity/update.test.ts @@ -4,14 +4,14 @@ describe("module: update-identity", () => { const fetcch = new Fetcch("4ff9ecc8-4537-4e2e-950d-0cefbd16f2a5"); test("update identity", async () => { const identity = await fetcch.identity.update({ - "id": "satyam@fetcch", - "identifier": "satyam", - "provider": "fetcch", + "id": "rk@pay", + "identifier": "rk", + "provider": "pay", "default": { - "address": "0x1DCcc9BaF7E8d7A18f948acD467CE016044fC546", + "address": "0x10D98B111bee373Eef82C2ae301C867bB002A312", "chain": 1, "isMultisig": false, - "isSmartContractWallet": false + "isSmartContractWallet": true }, "secondary": [ {