dojo / test-extras

:rocket: Dojo 2 - set of modules to help with testing Dojo.
http://dojo.io
Other
0 stars 14 forks source link

When adding a `key` to a `VNode` afterCreate and afterUpdate appear in the expectRender diff #50

Closed tomdye closed 6 years ago

tomdye commented 7 years ago

Bug

When a widget adds a key to one of it's VNodes this adds afterCreate and afterUpdate functions to the widget.expectRender call. To get around this we currently have to add widget.listener entries for both functions to the expected render result.

These should likely be ignored.

agubler commented 6 years ago

dojo/widget-core does not allow afterCreate or afterUpdate since moving away from Maquette for the vdom. Closing.