consolidation of focused element
This commit is contained in:
@@ -1,18 +1,8 @@
|
||||
package.path = package.path .. ";./?.lua;./modules/?.lua"
|
||||
|
||||
-- Add custom package searcher to handle FlexLove.modules.X imports
|
||||
local originalSearchers = package.searchers or package.loaders
|
||||
table.insert(originalSearchers, 2, function(modname)
|
||||
if modname:match("^FlexLove%.modules%.") then
|
||||
local moduleName = modname:gsub("^FlexLove%.modules%.", "")
|
||||
return function() return require("modules." .. moduleName) end
|
||||
end
|
||||
end)
|
||||
|
||||
require("testing.loveStub")
|
||||
local lu = require("testing.luaunit")
|
||||
|
||||
-- Load FlexLove
|
||||
local ErrorHandler = require("modules.ErrorHandler") -- Load FlexLove
|
||||
local FlexLove = require("FlexLove")
|
||||
|
||||
-- Initialize FlexLove to ensure all modules are properly set up
|
||||
|
||||
Reference in New Issue
Block a user