SyntaxGameServer/RCCService2018/content/LuaPackages/PurchasePrompt/Components/Presentation/AnimatedDot.spec.lua

16 lines
399 B
Lua

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