mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-18 03:27:32 +08:00
Refactoring WIP
This commit is contained in:
8
tests/fixtures/test.js
vendored
8
tests/fixtures/test.js
vendored
@@ -62,11 +62,9 @@ export function testNode(testData) {
|
||||
if (testData.color) {
|
||||
test(
|
||||
`${testData.name}: Has correct color`,
|
||||
async ({ blueprintPage }) => {
|
||||
expect(
|
||||
await blueprintPage.node.evaluate(node => node.entity.nodeColor().toString())
|
||||
).toBe(testData.color.toString())
|
||||
}
|
||||
async ({ blueprintPage }) =>
|
||||
expect(await blueprintPage.node.evaluate(node => node.entity.nodeColor().toString()))
|
||||
.toBe(testData.color.toString())
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user