Browse Source

Tests: Update tests after getEditableElement simplification.

Piotr Jasiun 7 years ago
parent
commit
ab1eacb5cd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      packages/ckeditor5-editor-decoupled/tests/decouplededitorui.js

+ 2 - 2
packages/ckeditor5-editor-decoupled/tests/decouplededitorui.js

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