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
@@ -3,7 +3,6 @@ describe("Frontlight function in PowerD", function()
|
||||
local param, test_when_on, test_when_off
|
||||
setup(function()
|
||||
require("commonrequire")
|
||||
package.unloadAll()
|
||||
require("document/canvascontext"):init(require("device"))
|
||||
|
||||
PowerD = require("device/generic/powerd"):new{
|
||||
@@ -28,7 +27,6 @@ describe("Frontlight function in PowerD", function()
|
||||
end)
|
||||
|
||||
teardown(function()
|
||||
package.unloadAll()
|
||||
require("document/canvascontext"):init(require("device"))
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user