mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
tests: drop package.unloadAll workaround
Unnecessary, busted auto-insulation already insulate each test file run.
This commit is contained in:
committed by
Frans de Jonge
parent
7a5465bfe6
commit
cb2d67aac9
@@ -10,7 +10,6 @@ describe("Readerfooter module", function()
|
||||
|
||||
setup(function()
|
||||
require("commonrequire")
|
||||
package.unloadAll()
|
||||
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