Browse Source

Tests: Update tests after getEditableElement simplification.

Piotr Jasiun 6 years ago
parent
commit
9c805f1815
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/ckeditor5-editor-inline/tests/inlineeditorui.js

+ 2 - 2
packages/ckeditor5-editor-inline/tests/inlineeditorui.js

@@ -215,8 +215,8 @@ describe( 'InlineEditorUI', () => {
 			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;
 		} );
 	} );
 } );