mirror of
https://github.com/Insality/druid.git
synced 2025-09-27 18:12:19 +02:00
Late scripts require in tests
This commit is contained in:
@@ -7,6 +7,7 @@ return function()
|
||||
|
||||
local druid = nil
|
||||
local context = nil
|
||||
|
||||
describe("Blocker component", function()
|
||||
before(function()
|
||||
mock_gui = require("deftest.mock.gui")
|
||||
@@ -18,6 +19,7 @@ return function()
|
||||
mock_gui.mock()
|
||||
mock_time.mock()
|
||||
mock_time.set(60)
|
||||
|
||||
context = test_helper.get_context()
|
||||
druid = druid_system.new(context)
|
||||
end)
|
||||
|
Reference in New Issue
Block a user