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,15 @@
return function()
local createRef = require(script.Parent.createRef)
it("should create refs", function()
expect(createRef()).to.be.ok()
end)
it("should support tostring on refs", function()
local ref = createRef()
expect(tostring(ref)).to.equal("RoactReference(nil)")
ref.current = "foo"
expect(tostring(ref)).to.equal("RoactReference(foo)")
end)
end