|
@@ -141,7 +141,7 @@ describe( 'position', () => {
|
|
|
it( 'throws when parent is not an element', () => {
|
|
it( 'throws when parent is not an element', () => {
|
|
|
expect( () => {
|
|
expect( () => {
|
|
|
Position.createFromParentAndOffset( b, 0 );
|
|
Position.createFromParentAndOffset( b, 0 );
|
|
|
- } ).to.throw( CKEditorError, /^position-parent-incorrect/ );
|
|
|
|
|
|
|
+ } ).to.throw( CKEditorError, /^model-position-parent-incorrect/ );
|
|
|
} );
|
|
} );
|
|
|
|
|
|
|
|
it( 'works with a doc frag', () => {
|
|
it( 'works with a doc frag', () => {
|