mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add spec of document rendering benchmark
This commit is contained in:
@@ -50,11 +50,10 @@ describe("PDF document module", function()
|
||||
end)
|
||||
|
||||
describe("EPUB document module", function()
|
||||
local sample_epub = "spec/front/unit/data/leaves_of_grass.epub"
|
||||
local sample_epub = "spec/front/unit/data/leaves.epub"
|
||||
it("should open document", function()
|
||||
doc = DocumentRegistry:openDocument(sample_epub)
|
||||
assert.truthy(doc)
|
||||
doc:close()
|
||||
end)
|
||||
it("should close document", function()
|
||||
doc:close()
|
||||
|
||||
Reference in New Issue
Block a user