mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-23 06:37:29 +08:00
Constant Material nodes added
This commit is contained in:
@@ -44,7 +44,10 @@ function generateNodeTest(nodeTest, getBlueprint) {
|
||||
} else if (nodeTest.icon === false) {
|
||||
it("It does not have an icon", () => expect(node.entity.nodeIcon()).to.be.undefined)
|
||||
}
|
||||
it(`Has ${nodeTest.pins} pins`, () => expect(node.querySelectorAll("ueb-pin")).to.be.lengthOf(nodeTest.pins))
|
||||
if (nodeTest.pins) {
|
||||
it(`Has ${nodeTest.pins} pins`, () => expect(node.querySelectorAll("ueb-pin"))
|
||||
.to.be.lengthOf(nodeTest.pins))
|
||||
}
|
||||
if (nodeTest.pinNames) {
|
||||
it(
|
||||
"Has correct pin names",
|
||||
|
||||
Reference in New Issue
Block a user