File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,14 +75,14 @@ describe('Deprecated Items test', () => {
7575 const result = await editor . run ( )
7676
7777 const deprecatedItems = Array . from ( result . operations . values ( ) ) . flatMap ( operation => operation . deprecatedItems )
78+
79+ expect ( deprecatedItems . every ( item => item ?. description ?. startsWith ( '[Deprecated]' ) ) ) . toBeTruthy ( )
80+ expect ( result . operations . get ( 'auth-saml-post' ) ?. deprecatedItems ?. [ 0 ] . deprecatedInPreviousVersions . length ) . toBe ( 2 )
7881 expect ( Array . from ( result . operations . values ( ) ) ) . toEqual ( expect . toIncludeSameMembers ( [
7982 expect . objectContaining ( { deprecated : true } ) ,
8083 expect . objectContaining ( { deprecated : false } ) ,
8184 expect . objectContaining ( { deprecated : false } ) ,
8285 ] ) )
83-
84- expect ( deprecatedItems . every ( item => item ?. description ?. startsWith ( '[Deprecated]' ) ) ) . toBeTruthy ( )
85- expect ( result . operations . get ( 'auth-saml-post' ) ?. deprecatedItems ?. [ 0 ] . deprecatedInPreviousVersions . length ) . toBe ( 2 )
8686 } )
8787
8888 test ( 'should have 1 semi-breaking changes for removed operation and property according to rules' , async ( ) => {
You can’t perform that action at this time.
0 commit comments