@@ -153,15 +153,15 @@ describe('with editor plugins loaded', () => {
153153 } ) ;
154154 } ) ;
155155
156- it ( 'passes property stateVersion ' , async ( ) => {
156+ it ( 'passes property docVersion ' , async ( ) => {
157157 editor . dispatchEvent ( newOpenEvent ( doc , 'test.scd' ) ) ;
158158 await editor . updateComplete ;
159159
160- expect ( editorPlugin . stateVersion ) . to . equal ( 0 ) ;
160+ expect ( editorPlugin . docVersion ) . to . equal ( 0 ) ;
161161 expect ( editorPlugin . editCount ) . to . equal ( 0 ) ;
162162 } ) ;
163163
164- it ( 'updated passed stateVersion property on edit events' , async ( ) => {
164+ it ( 'updated passed docVersion property on edit events' , async ( ) => {
165165 editor . dispatchEvent ( newOpenEvent ( doc , 'test.scd' ) ) ;
166166 await editor . updateComplete ;
167167
@@ -174,7 +174,7 @@ describe('with editor plugins loaded', () => {
174174 ) ;
175175 await editor . updateComplete ;
176176
177- expect ( editorPlugin . stateVersion ) . to . equal ( 1 ) ;
177+ expect ( editorPlugin . docVersion ) . to . equal ( 1 ) ;
178178 expect ( editorPlugin . editCount ) . to . equal ( 1 ) ;
179179 } ) ;
180180} ) ;
@@ -239,15 +239,15 @@ describe('with menu plugins loaded', () => {
239239 } ) ;
240240 } ) ;
241241
242- it ( 'passes property stateVersion ' , async ( ) => {
242+ it ( 'passes property docVersion ' , async ( ) => {
243243 editor . dispatchEvent ( newOpenEvent ( doc , 'test.scd' ) ) ;
244244 await editor . updateComplete ;
245245
246- expect ( menuPlugin ) . to . have . property ( 'stateVersion ' , 0 ) ;
246+ expect ( menuPlugin ) . to . have . property ( 'docVersion ' , 0 ) ;
247247 expect ( menuPlugin ) . to . have . property ( 'editCount' , 0 ) ;
248248 } ) ;
249249
250- it ( 'updated passed stateVersion property on edit events' , async ( ) => {
250+ it ( 'updated passed docVersion property on edit events' , async ( ) => {
251251 editor . dispatchEvent ( newOpenEvent ( doc , 'test.scd' ) ) ;
252252 await editor . updateComplete ;
253253
@@ -260,7 +260,7 @@ describe('with menu plugins loaded', () => {
260260 ) ;
261261 await editor . updateComplete ;
262262
263- expect ( menuPlugin ) . to . have . property ( 'stateVersion ' , 1 ) ;
263+ expect ( menuPlugin ) . to . have . property ( 'docVersion ' , 1 ) ;
264264 expect ( menuPlugin ) . to . have . property ( 'editCount' , 1 ) ;
265265 } ) ;
266266} ) ;
0 commit comments