8
0
Просмотр исходного кода

Tests: Fixed to.be.equal() use.

Piotrek Koszuliński 5 лет назад
Родитель
Сommit
398b70f8e5

+ 1 - 1
packages/ckeditor5-special-characters/tests/specialcharacters.js

@@ -182,7 +182,7 @@ describe( 'SpecialCharacters', () => {
 			it( 'is not fully initialized when not open', () => {
 				// (#6175)
 				const uninitializedDropdown = editor.ui.componentFactory.create( 'specialCharacters' );
-				expect( uninitializedDropdown.panelView.children.length ).to.be.equal( 0 );
+				expect( uninitializedDropdown.panelView.children.length ).to.equal( 0 );
 			} );
 		} );
 	} );

+ 1 - 1
packages/ckeditor5-special-characters/tests/specialcharactersarrows.js

@@ -43,7 +43,7 @@ describe( 'SpecialCharactersArrows', () => {
 	} );
 
 	it( 'properly names the category', () => {
-		expect( addItemsFirstCallArgs[ 0 ] ).to.be.equal( 'Arrows' );
+		expect( addItemsFirstCallArgs[ 0 ] ).to.equal( 'Arrows' );
 	} );
 
 	it( 'adds proper characters', () => {

+ 1 - 1
packages/ckeditor5-special-characters/tests/specialcharacterscurrency.js

@@ -43,7 +43,7 @@ describe( 'SpecialCharactersCurrency', () => {
 	} );
 
 	it( 'properly names the category', () => {
-		expect( addItemsFirstCallArgs[ 0 ] ).to.be.equal( 'Currency' );
+		expect( addItemsFirstCallArgs[ 0 ] ).to.equal( 'Currency' );
 	} );
 
 	it( 'adds proper characters', () => {

+ 1 - 1
packages/ckeditor5-special-characters/tests/specialcharacterslatin.js

@@ -43,7 +43,7 @@ describe( 'SpecialCharactersLatin', () => {
 	} );
 
 	it( 'properly names the category', () => {
-		expect( addItemsFirstCallArgs[ 0 ] ).to.be.equal( 'Latin' );
+		expect( addItemsFirstCallArgs[ 0 ] ).to.equal( 'Latin' );
 	} );
 
 	it( 'adds proper characters', () => {

+ 1 - 1
packages/ckeditor5-special-characters/tests/specialcharacterstext.js

@@ -43,7 +43,7 @@ describe( 'SpecialCharactersText', () => {
 	} );
 
 	it( 'properly names the category', () => {
-		expect( addItemsFirstCallArgs[ 0 ] ).to.be.equal( 'Text' );
+		expect( addItemsFirstCallArgs[ 0 ] ).to.equal( 'Text' );
 	} );
 
 	it( 'adds proper characters', () => {