tests: drop package.unloadAll workaround

Unnecessary, busted auto-insulation already insulate each test file run.
This commit is contained in:
Benoit Pierre
2024-12-25 15:46:01 +01:00
committed by Frans de Jonge
parent 7a5465bfe6
commit cb2d67aac9
11 changed files with 0 additions and 39 deletions

View File

@@ -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