Skip to content

Commit

Permalink
Tests: Future-proofed SchemaDefinitionInspector tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
oleq committed May 24, 2022
1 parent bb3d469 commit 7a14e99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/inspector/schema/schemadefinitioninspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ describe( '<SchemaDefinitionInspector />', () => {

expect( lists[ 2 ].name ).to.equal( 'Allowed children' );
expect( lists[ 2 ].url ).to.match( /^https:\/\/ckeditor.com\/docs\// );
expect( lists[ 2 ].itemDefinitions ).to.deep.equal( {
expect( lists[ 2 ].itemDefinitions ).to.deep.include( {
$text: { value: 'true' }
} );
} );
Expand All @@ -145,7 +145,7 @@ describe( '<SchemaDefinitionInspector />', () => {

expect( lists[ 3 ].name ).to.equal( 'Allowed in' );
expect( lists[ 3 ].url ).to.match( /^https:\/\/ckeditor.com\/docs\// );
expect( lists[ 3 ].itemDefinitions ).to.deep.equal( {
expect( lists[ 3 ].itemDefinitions ).to.deep.include( {
$clipboardHolder: { value: 'true' },
$documentFragment: { value: 'true' },
$root: { value: 'true' }
Expand Down

0 comments on commit 7a14e99

Please sign in to comment.