This commit is contained in:
Insality
2025-03-30 13:01:54 +03:00
parent d182bcef7c
commit c4694b421b
10 changed files with 75 additions and 22 deletions

View File

@@ -6,7 +6,6 @@ return function()
local druid_system = nil
local druid = nil
local context = nil
describe("Blocker component", function()
before(function()
@@ -20,15 +19,13 @@ return function()
mock_time.mock()
mock_time.set(60)
context = test_helper.get_context()
druid = druid_system.new(context)
druid = druid_system.new({})
end)
after(function()
mock_gui.unmock()
mock_time.unmock()
druid:final(context)
druid = nil
druid:final()
end)
it("Should consume input", function()