This commit is contained in:
lx
2026-07-06 14:01:11 -04:00
commit c4f97d729d
16468 changed files with 935321 additions and 0 deletions
@@ -0,0 +1,26 @@
return function()
local CoreGui = game:GetService("CoreGui")
local Modules = CoreGui.RobloxGui.Modules
local LuaChat = Modules.LuaChat
local SetAppLoaded = require(LuaChat.Actions.SetAppLoaded)
local AppLoaded = require(script.Parent.AppLoaded)
describe("Action AppLoaded", function()
it("should be unloaded by default", function()
local state = AppLoaded(nil, {})
expect(state).to.equal(false)
end)
it("should be changed using SetAppLoaded", function()
local state = AppLoaded(nil, {})
state = AppLoaded(state, SetAppLoaded(false))
expect(state).to.equal(false)
state = AppLoaded(state, SetAppLoaded(true))
expect(state).to.equal(true)
end)
end)
end