mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-21 20:21:38 +00:00
plugin: Unify test running code
This commit is contained in:
parent
79f09deecb
commit
40105515d2
3 changed files with 7 additions and 2 deletions
|
|
@ -28,5 +28,5 @@ end)
|
|||
if Config.isDevBuild then
|
||||
local TestEZ = require(script.Parent.TestEZ)
|
||||
|
||||
TestEZ.TestBootstrap:run({script})
|
||||
require(script.runTests)(TestEZ)
|
||||
end
|
||||
5
plugin/src/runTests.lua
Normal file
5
plugin/src/runTests.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
return function(TestEZ)
|
||||
local Rojo = script.Parent.Parent
|
||||
|
||||
TestEZ.TestBootstrap:run({ Rojo.Plugin, Rojo.Http, Rojo.Log })
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue