mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-21 05:06:29 +00:00
15 lines
349 B
Lua
15 lines
349 B
Lua
local loadEnvironment = require("loadEnvironment")
|
|
|
|
local testPath = assert((...), "Please specify a path to a test file.")
|
|
|
|
local habitat = loadEnvironment()
|
|
|
|
local testModule = habitat:loadFromFs(testPath)
|
|
|
|
if testModule == nil then
|
|
error("Couldn't find test file at " .. testPath)
|
|
end
|
|
|
|
print("Starting test module.")
|
|
|
|
habitat:require(testModule) |