Преглед изворни кода

Updated tests after icon became an svg string.

Piotrek Koszuliński пре 9 година
родитељ
комит
f6b8739057
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/ckeditor5-undo/tests/undo.js

+ 1 - 1
packages/ckeditor5-undo/tests/undo.js

@@ -81,7 +81,7 @@ describe( 'Undo', () => {
 			it( 'should create UI component with correct attribute values', () => {
 				expect( button.isOn ).to.be.false;
 				expect( button.label ).to.equal( label );
-				expect( button.icon ).to.equal( featureName );
+				expect( button.icon ).to.match( /<svg / );
 				expect( button.keystroke ).to.equal( featureKeystroke );
 			} );