From 81673d4cf97122c69e067a217f0cd773820b961b Mon Sep 17 00:00:00 2001 From: LennertDefauw Date: Mon, 11 Apr 2022 14:15:25 +0200 Subject: [PATCH] Fix tests --- package.json | 2 +- test/unit/index.spec.ts | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 18f3870..6f5b6cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@threefoldjimber/threefold_login", - "version": "1.4.2", + "version": "1.4.3", "description": "threefold login js sdk", "main": "dist/index.js", "types": "dist/index.d.js", diff --git a/test/unit/index.spec.ts b/test/unit/index.spec.ts index 45da389..4021155 100644 --- a/test/unit/index.spec.ts +++ b/test/unit/index.spec.ts @@ -19,7 +19,7 @@ import { parseSignedAttemptFromUrl } from '../../src/utils/parse'; const protocol = 'https:'; // const rawHost = 'test-bot-front-end.io'; -const rawHost = 'login.staging.jimber.org'; +const rawHost = 'login.staging.jimber.io'; const threeFoldAPIHost = protocol + '//' + rawHost; const appId = 'test.threefoldlogin'; @@ -29,7 +29,7 @@ const appId = 'test.threefoldlogin'; const seedPhrase = 'calm science teach foil burst until next mango hole sponsor fold bottom cousin push focus track truly tornado turtle over tornado teach large fiscal'; const redirectUrl = 'https://test-bot-front-end.io'; -const kycBackendUrl = 'https://openkyc.staging.jimber.org'; +const kycBackendUrl = 'https://openkyc.staging.jimber.io'; let login: ThreefoldLogin; let state: string; @@ -234,9 +234,11 @@ describe('ThreefoldLogin', () => { }, 1000); it('should check if email is verified', async () => { + console.log(login.threeFoldAPIHost) const emailData = await login.isEmailVerified( testSignedEmailIdentifier ); + console.log(emailData) expect(emailData).toBe(true); }, 1000);