mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 20:55:50 +00:00
17 lines
426 B
Lua
17 lines
426 B
Lua
--[[
|
|
Loads our library and all of its dependencies, then runs tests using TestEZ.
|
|
]]
|
|
|
|
local loadEnvironment = require("loadEnvironment")
|
|
|
|
local habitat, modules = loadEnvironment()
|
|
|
|
-- Load TestEZ and run our tests
|
|
local TestEZ = habitat:require(modules.TestEZ)
|
|
|
|
local results = TestEZ.TestBootstrap:run(modules.Rojo, TestEZ.Reporters.TextReporter)
|
|
|
|
-- Did something go wrong?
|
|
if results.failureCount > 0 then
|
|
os.exit(1)
|
|
end |