Explorar o código

Tests: fixed incorrect schema definition.

Piotrek Koszuliński %!s(int64=9) %!d(string=hai) anos
pai
achega
79c5eafa87
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/ckeditor5-list/tests/listcommand.js

+ 1 - 0
packages/ckeditor5-list/tests/listcommand.js

@@ -27,6 +27,7 @@ describe( 'ListCommand', () => {
 		doc.schema.registerItem( 'widget', '$block' );
 
 		doc.schema.allow( { name: '$block', inside: '$root' } );
+		doc.schema.allow( { name: 'paragraph', inside: 'widget' } );
 		doc.schema.allow( { name: 'listItem', attributes: [ 'type', 'indent' ], inside: '$root' } );
 		doc.schema.disallow( { name: 'listItem', attributes: [ 'type', 'indent' ], inside: 'widget' } );