File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
x-pack/plugins/actions/server/saved_objects Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ describe('7.10.0', () => {
2525 const migration710 = getMigrations ( encryptedSavedObjectsSetup ) [ '7.10.0' ] ;
2626 const action = getMockDataForEmail ( { } ) ;
2727 const migratedAction = migration710 ( action , context ) ;
28- expect ( migratedAction . attributes . config ) . toMatchObject ( {
28+ expect ( migratedAction . attributes . config ) . toEqual ( {
2929 hasAuth : true ,
3030 } ) ;
31- expect ( migratedAction ) . toMatchObject ( {
31+ expect ( migratedAction ) . toEqual ( {
3232 ...action ,
3333 attributes : {
3434 ...action . attributes ,
@@ -43,10 +43,10 @@ describe('7.10.0', () => {
4343 const migration710 = getMigrations ( encryptedSavedObjectsSetup ) [ '7.10.0' ] ;
4444 const action = getMockData ( { } ) ;
4545 const migratedAction = migration710 ( action , context ) ;
46- expect ( migratedAction . attributes . config ) . toMatchObject ( {
46+ expect ( migratedAction . attributes . config ) . toEqual ( {
4747 incidentConfiguration : { mapping : [ ] } ,
4848 } ) ;
49- expect ( migratedAction ) . toMatchObject ( {
49+ expect ( migratedAction ) . toEqual ( {
5050 ...action ,
5151 attributes : {
5252 ...action . attributes ,
You can’t perform that action at this time.
0 commit comments