浏览代码

Fixed test.

Maciej Bukowski 6 年之前
父节点
当前提交
934fdb037e
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 );
 			};