From dc638c381174831b542d87d7e9cbcb20bf4fd800 Mon Sep 17 00:00:00 2001 From: Mark Boas Date: Mon, 4 Jul 2022 17:33:10 +0200 Subject: [PATCH 1/2] fix test --- __TEST__/hyperaudio-lite.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/__TEST__/hyperaudio-lite.test.js b/__TEST__/hyperaudio-lite.test.js index 518e527..53d4b16 100644 --- a/__TEST__/hyperaudio-lite.test.js +++ b/__TEST__/hyperaudio-lite.test.js @@ -98,10 +98,11 @@ test("getSelectionMediaFragment", () => { ); }); + test("updateTranscriptVisualState", () => { const expectedResult = { currentWordIndex: 7, - currentParaIndex: 1, + currentParentElementIndex: 1, }; ht.currentTime = 8.106641; From 0efe2ffc550ffc1829951733930a176d3efc132b Mon Sep 17 00:00:00 2001 From: Mark Boas Date: Mon, 4 Jul 2022 17:34:21 +0200 Subject: [PATCH 2/2] remove unneeded ewline --- __TEST__/hyperaudio-lite.test.js | 1 - 1 file changed, 1 deletion(-) diff --git a/__TEST__/hyperaudio-lite.test.js b/__TEST__/hyperaudio-lite.test.js index 53d4b16..c641ed8 100644 --- a/__TEST__/hyperaudio-lite.test.js +++ b/__TEST__/hyperaudio-lite.test.js @@ -98,7 +98,6 @@ test("getSelectionMediaFragment", () => { ); }); - test("updateTranscriptVisualState", () => { const expectedResult = { currentWordIndex: 7,