Skip to content

Commit

Permalink
Fix tester
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleitnick committed Dec 10, 2024
1 parent 84a11b8 commit d90d15a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/Test.luau
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,9 @@ function Test.run(ancestors: { Instance })
for _, child in ancestor:GetDescendants() do
if child:IsA("ModuleScript") and string.match(child.Name, "%.test$") ~= nil then
local name = (string.match(child.Name, "(.+)%.test$")) or child.Name
if name == "init" then
name = child.Parent.Name
end
local fn = require(child)
tests[name] = fn
end
Expand Down

0 comments on commit d90d15a

Please sign in to comment.