mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
tests: avoid loading unnecessary plugins
This commit is contained in:
committed by
Frans de Jonge
parent
cb2d67aac9
commit
646ed9a07f
@@ -10,6 +10,7 @@ describe("Readerfooter module", function()
|
||||
|
||||
setup(function()
|
||||
require("commonrequire")
|
||||
disable_plugins()
|
||||
local Device = require("device")
|
||||
-- Override powerd for running tests on devices with batteries.
|
||||
Device.powerd.isChargingHW = function() return false end
|
||||
|
||||
Reference in New Issue
Block a user