add gs
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
return function()
|
||||
local CorePackages = game:GetService("CorePackages")
|
||||
local Roact = require(CorePackages.Roact)
|
||||
|
||||
local AnimatedDot = require(script.Parent.AnimatedDot)
|
||||
|
||||
it("should create and destroy without errors", function()
|
||||
local element = Roact.createElement(AnimatedDot, {
|
||||
time = 1,
|
||||
layoutOrder = 1,
|
||||
})
|
||||
|
||||
local instance = Roact.mount(element)
|
||||
Roact.unmount(instance)
|
||||
end)
|
||||
end
|
||||
Reference in New Issue
Block a user