Browse Source

Fixed test.

Maciej Bukowski 6 years ago
parent
commit
934fdb037e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-core/tests/_utils-tests/virtualtesteditor.js

+ 1 - 1
packages/ckeditor5-core/tests/_utils-tests/virtualtesteditor.js

@@ -58,7 +58,7 @@ describe( 'VirtualTestEditor', () => {
 		it( 'fires the `data#ready` event once', () => {
 			const dataReadySpy = sinon.spy();
 
-			const Plugin = editor => {
+			const Plugin = function( editor ) {
 				editor.data.on( 'ready', dataReadySpy );
 			};