lune/tests/globals/require/tests/parents.luau
2023-02-17 15:03:13 +01:00

7 lines
292 B
Lua

local module = require("../modules/module")
assert(type(module) == "table", "Required module did not return a table")
assert(module.Foo == "Bar", "Required module did not contain correct values")
assert(module.Hello == "World", "Required module did not contain correct values")
return true