Part 5: Update devtools to follow displayName change

Issue #87
This commit is contained in:
janekptacijarabaci 2018-03-19 16:15:11 +01:00 committed by Roy Tam
commit 359afc3ad5
5 changed files with 51 additions and 37 deletions

View file

@ -53,13 +53,13 @@ function test() {
.getAttribute("value"), "getName",
"Should have the right property name for 'getName' in person.");
is(personNode.get("getName").target.querySelector(".value")
.getAttribute("value"), "_pfactory/<.getName()",
.getAttribute("value"), "getName()",
"'getName' in person should have the right value.");
is(personNode.get("getFoo").target.querySelector(".name")
.getAttribute("value"), "getFoo",
"Should have the right property name for 'getFoo' in person.");
is(personNode.get("getFoo").target.querySelector(".value")
.getAttribute("value"), "_pfactory/<.getFoo()",
.getAttribute("value"), "getFoo()",
"'getFoo' in person should have the right value.");
// Expand the function nodes. This causes their properties to be