Closed mjul closed 10 years ago
I think it's better to test that kineticNode (component.getKineticNode()) have correct properties, not that our component have correct props. Latter would be testing react, not this library.
Same way we can test that something is rendered by checking if Layer (or Stage) kinetic node have relevant children.
OK, I will submit new tests with a smaller unit.
Text and TextPath are not currently working. Here are some tests to get started.