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,18 @@
return function()
local LuaChat = script.Parent.Parent
local FriendCount = require(script.Parent.FriendCount)
local SetFriendCount = require(LuaChat.Actions.SetFriendCount)
it("should be zero by default", function()
local state = FriendCount(nil, {})
expect(state).to.equal(0)
end)
it("should respond to SetFriendCount", function()
local state = FriendCount(nil, {})
state = FriendCount(state, SetFriendCount(520))
expect(state).to.equal(520)
end)
end