Explorar o código

Tests: Adjustments to new data#ready event.

Krzysztof Krztoń %!s(int64=7) %!d(string=hai) anos
pai
achega
b04ceb33df
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/ckeditor5-autosave/tests/autosave.js

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

@@ -637,7 +637,7 @@ describe( 'Autosave', () => {
 			}
 
 			init() {
-				this.editor.once( 'dataReady', () => {
+				this.editor.data.once( 'ready', () => {
 					const editor = this.editor;
 
 					editor.model.change( writer => {