Refactor text setting methods and remove ldoc files

This commit is contained in:
Insality
2024-12-08 13:35:41 +02:00
parent 9a1cd795b8
commit 6b8bbe1970
26 changed files with 158 additions and 544 deletions

View File

@@ -3,8 +3,9 @@ local mock = require("deftest.mock.mock")
local M = {}
-- Userdata type instead of script self
---@return vector3|vector4
function M.get_context()
return vmath.vector()
return vmath.vector({})
end

View File

@@ -17,6 +17,6 @@ function init(self)
deftest.add(tests[i])
end
local is_report = (sys.get_config("test.report") == "1")
local is_report = (sys.get_config_int("test.report", 0) == 1)
deftest.run({ coverage = { enabled = is_report } })
end