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,20 @@
return function()
local CorePackages = game:GetService("CorePackages")
local Roact = require(CorePackages.Roact)
local UnitTestContainer = require(script.Parent.Parent.Parent.Test.UnitTestContainer)
local CancelButton = require(script.Parent.CancelButton)
it("should create and destroy without errors", function()
local element = Roact.createElement(UnitTestContainer, nil, {
Roact.createElement(CancelButton, {
onClick = function()
end,
})
})
local instance = Roact.mount(element)
Roact.unmount(instance)
end)
end