Prevent Busted from blowing up on cdata finalizers by properly closing

opened documents...
This commit is contained in:
NiLuJe
2020-12-19 05:32:23 +01:00
parent 0ab4023150
commit 9cda84ef2f
16 changed files with 155 additions and 20 deletions

View File

@@ -53,6 +53,10 @@ describe("ReaderBookmark module", function()
}
readerui.status.enabled = false
end)
teardown(function()
readerui:closeDocument()
readerui:onClose()
end)
before_each(function()
UIManager:quit()
UIManager:show(readerui)
@@ -136,6 +140,10 @@ describe("ReaderBookmark module", function()
}
readerui.status.enabled = false
end)
teardown(function()
readerui:closeDocument()
readerui:onClose()
end)
before_each(function()
UIManager:quit()
UIManager:show(readerui)