Преглед изворни кода

Tests: Update tests after getEditableElement simplification.

Piotr Jasiun пре 7 година
родитељ
комит
7c6ca9fd4b
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      packages/ckeditor5-editor-balloon/tests/ballooneditorui.js

+ 2 - 2
packages/ckeditor5-editor-balloon/tests/ballooneditorui.js

@@ -140,8 +140,8 @@ describe( 'BalloonEditorUI', () => {
 			expect( ui.getEditableElement( 'main' ) ).to.equal( view.editable.element );
 			expect( ui.getEditableElement( 'main' ) ).to.equal( view.editable.element );
 		} );
 		} );
 
 
-		it( 'returns null if editable with the given name is absent', () => {
-			expect( ui.getEditableElement( 'absent' ) ).to.null;
+		it( 'returns undefined if editable with the given name is absent', () => {
+			expect( ui.getEditableElement( 'absent' ) ).to.be.undefined;
 		} );
 		} );
 	} );
 	} );
 } );
 } );