|
@@ -528,6 +528,7 @@ describe( 'MutationObserver', () => {
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
describe( 'UIElement integration', () => {
|
|
describe( 'UIElement integration', () => {
|
|
|
|
|
+ const renderStub = sinon.stub();
|
|
|
function createUIElement( name ) {
|
|
function createUIElement( name ) {
|
|
|
const element = new UIElement( name );
|
|
const element = new UIElement( name );
|
|
|
|
|
|
|
@@ -541,8 +542,6 @@ describe( 'MutationObserver', () => {
|
|
|
return element;
|
|
return element;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- const renderStub = sinon.stub();
|
|
|
|
|
-
|
|
|
|
|
beforeEach( () => {
|
|
beforeEach( () => {
|
|
|
const uiElement = createUIElement( 'div' );
|
|
const uiElement = createUIElement( 'div' );
|
|
|
viewRoot._appendChild( uiElement );
|
|
viewRoot._appendChild( uiElement );
|