You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
t.equal(triggeredInsertEl,false,'domRenderer.onInsertEl should not be triggered on parent of registered path');
339
+
340
+
341
+
domRenderer.loadPath(selector+'/1/2/3');
342
+
domRenderer.findTarget();
343
+
domRenderer.insertEl('div');
344
+
t.equal(triggeredInsertEl,true,'domRenderer.onInsertEl should be triggered on element insertion at registered path');
345
+
t.notEqual(triggeredElementCache,null,'domRenderer.onInsertEl listener should receive newly created ElementCache');
346
+
347
+
t.equal(triggeredElementCache.path,selector+'/1/2/3','domRenderer.onInsertEl should trigger ElementCache with the correct path');
348
+
t.equal(triggeredElementCache.element,element.children[0].children[0],'domRenderer.onInsertEl should trigger ElementCache that manages the correct element');
0 commit comments