Tests: "Unbreak" some more tests

This is horrible and needs to burn in a fire.
This commit is contained in:
NiLuJe
2023-08-13 13:24:09 +02:00
parent c23c422f62
commit f4dd0f92b2
3 changed files with 137 additions and 103 deletions

View File

@@ -12,6 +12,10 @@ describe("Readerhighlight module", function()
UIManager = require("ui/uimanager")
end)
teardown(function()
UIManager:quit()
end)
local function highlight_single_word(pos0)
local readerui = ReaderUI.instance
local s = spy.on(readerui.languagesupport, "improveWordSelection")