From 1a920f6f5a72f10bc470b960b0abe87bb86990b6 Mon Sep 17 00:00:00 2001 From: Nicolas Luck Date: Fri, 8 Dec 2023 13:06:04 +0100 Subject: [PATCH] Fix getTelepresenceAdapter() and reactiate TP tests --- executor/src/core/Perspective.ts | 2 +- tests/js/tests/neighbourhood.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/executor/src/core/Perspective.ts b/executor/src/core/Perspective.ts index 4b7eba74c..0b681653a 100644 --- a/executor/src/core/Perspective.ts +++ b/executor/src/core/Perspective.ts @@ -399,7 +399,7 @@ export default class Perspective { if(!this.getLinksAdapter()) { return null; } - const address = this.neighbourhood!.linkLanguage; + const address = this.neighbourhood!.data.linkLanguage; const telepresenceAdapter = await this.#languageController!.getTelepresenceAdapter({address} as LanguageRef); return telepresenceAdapter } diff --git a/tests/js/tests/neighbourhood.ts b/tests/js/tests/neighbourhood.ts index ee7640af6..d34bc4a35 100644 --- a/tests/js/tests/neighbourhood.ts +++ b/tests/js/tests/neighbourhood.ts @@ -201,7 +201,7 @@ export default function neighbourhoodTests(testContext: TestContext) { // }) - describe.skip('with set up and joined NH for Telepresence', async () => { + describe('with set up and joined NH for Telepresence', async () => { let aliceNH: NeighbourhoodProxy|undefined let bobNH: NeighbourhoodProxy|undefined let aliceDID: string|undefined