add gs
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
return function()
|
||||
local Roact = require(game:GetService("CoreGui").RobloxGui.Modules.Common.Roact)
|
||||
local RenderStep = require(script.Parent.RenderStep)
|
||||
|
||||
it("should create and destroy", function()
|
||||
local element = Roact.createElement(RenderStep, {
|
||||
name = "myRenderStep",
|
||||
priority = Enum.RenderPriority.Input.Value,
|
||||
callback = function() print("hello render step") end,
|
||||
})
|
||||
local instance = Roact.mount(element)
|
||||
Roact.unmount(instance)
|
||||
end)
|
||||
end
|
||||
Reference in New Issue
Block a user