8
0
Просмотр исходного кода

Tests: Fixed incomplete code-coverage due to wrong usage of the getElement util.

Aleksander Nowodzinski 8 лет назад
Родитель
Сommit
6ce6f522bc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-utils/tests/dom/position.js

+ 1 - 1
packages/ckeditor5-utils/tests/dom/position.js

@@ -271,7 +271,7 @@ describe( 'getOptimalPosition()', () => {
 		} );
 
 		it( 'should return the very first coordinates if limiter does not fit into the viewport', () => {
-			getElement( limiter, {
+			limiter = getElement( {
 				top: -100,
 				right: -80,
 				bottom: -80,