Skip to content

Migration from v0.7.0 to v0.8.0

Some deprecations are there.

What's Changed

_spy.customElement interface is added since v0.8.0. And the methods of _spy related with the custom elements are deprecated now, replacings are recommended.

_spy.ensureCustomElement

diff
-  _spy.ensureCustomElement(myTag, config);
+  _spy.customElement.ensure(myTag, config);

_spy.ensureCustomIterator

diff
-  _spy.ensureCustomIterator();
+  _spy.customElement.ensureIterator();