Browse Source

Added missing test.

Kamil Piechaczek 7 years ago
parent
commit
1c543c7905
1 changed files with 7 additions and 1 deletions
  1. 7 1
      packages/ckeditor5-engine/tests/view/containerelement.js

+ 7 - 1
packages/ckeditor5-engine/tests/view/containerelement.js

@@ -3,7 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
-import ContainerElement from '../../src/view/containerelement';
+import { default as ContainerElement, getFillerOffset } from '../../src/view/containerelement';
 import Element from '../../src/view/element';
 import { parse } from '../../src/dev-utils/view';
 
@@ -96,3 +96,9 @@ describe( 'ContainerElement', () => {
 		} );
 	} );
 } );
+
+describe( 'getFillerOffset()', () => {
+	it( 'should be a function that can be used in other places', () => {
+		expect( getFillerOffset ).is.a( 'function' );
+	} );
+} );