Răsfoiți Sursa

Tests: Replaced spy.reset() with spy.resetHistory(). See ckeditor/ckeditor5#801.

Kamil Piechaczek 7 ani în urmă
părinte
comite
c5f20f72be

+ 1 - 1
packages/ckeditor5-image/tests/imagestyle/imagestyleui.js

@@ -60,7 +60,7 @@ describe( 'ImageStyleUI', () => {
 			buttonView.fire( 'execute' );
 			sinon.assert.calledWithExactly( editor.execute, 'imageStyle', { value: style.name } );
 
-			spy.reset();
+			spy.resetHistory();
 		}
 	} );