diff --git a/tests/decouplededitorui.js b/tests/decouplededitorui.js index ff65307..f72870f 100644 --- a/tests/decouplededitorui.js +++ b/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; } ); } ); } );