Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Tests: Update tests after getEditableElement simplification.
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Jasiun committed Jan 22, 2019
1 parent bc7cfb7 commit c9ae0dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/decouplededitorui.js
Expand Up @@ -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;
} );
} );
} );
Expand Down

0 comments on commit c9ae0dc

Please sign in to comment.