add gs
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
return function()
|
||||
local createElement = require(script.Parent.createElement)
|
||||
|
||||
it("should create new primitive elements", function()
|
||||
local element = createElement("Frame")
|
||||
|
||||
expect(element).to.be.ok()
|
||||
end)
|
||||
|
||||
it("should create new functional elements", function()
|
||||
local element = createElement(function()
|
||||
end)
|
||||
|
||||
expect(element).to.be.ok()
|
||||
end)
|
||||
|
||||
it("should create new stateful components", function()
|
||||
local element = createElement({})
|
||||
|
||||
expect(element).to.be.ok()
|
||||
end)
|
||||
end
|
||||
Reference in New Issue
Block a user