Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

Commit

Permalink
Fix multiple roots causing some test modules to be ignored (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
LPGhatguy authored Oct 8, 2019
1 parent 65293ec commit 5da08f6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/TestBootstrap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,13 @@ function TestBootstrap:run(roots, reporter, otherOptions)

local startTime = tick()

local modules
local modules = {}
for _, subRoot in ipairs(roots) do
modules = self:getModules(subRoot, modules)
local newModules = self:getModules(subRoot)

for _, newModule in ipairs(newModules) do
table.insert(modules, newModule)
end
end

local afterModules = tick()
Expand Down

0 comments on commit 5da08f6

Please sign in to comment.