We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dcb556 commit 9a214eeCopy full SHA for 9a214ee
1 file changed
packages/devtools-reps/src/object-inspector/tests/test-utils.js
@@ -35,10 +35,9 @@ function formatObjectInspector(wrapper: Object) {
35
arrowStr = " ";
36
}
37
38
- let icon = "";
39
- if (node.find(".node").first().hasClass("block")) {
40
- icon = "☲ ";
41
- }
+ const icon = node.find(".node").first().hasClass("block")
+ ? "☲ "
+ : "";
42
return `${indentStr}${arrowStr}${icon}${getSanitizedNodeText(node)}`;
43
})
44
.join("\n");
0 commit comments