File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ describe('composeEventPayloadByRepetition', () => {
3939 * Assert
4040 */
4141 expect ( result ) . toMatchObject ( mockOriginalEvent . payload ) ;
42+ expect ( result ) . not . toBe ( mockOriginalEvent . payload ) ;
4243 } ) ;
4344 } ) ;
4445
@@ -83,8 +84,8 @@ describe('composeEventPayloadByRepetition', () => {
8384 const originalEventPayload = {
8485 title : 'Original message' ,
8586 type : 'error' ,
86- addons : JSON . stringify ( { userId : 123 } ) ,
87- context : JSON . stringify ( { sessionId : 'abc ' } ) ,
87+ addons : JSON . stringify ( { userId : 777 } ) ,
88+ context : JSON . stringify ( { sessionId : 'xyz ' } ) ,
8889 } ;
8990 /**
9091 * Arrange
@@ -117,8 +118,8 @@ describe('composeEventPayloadByRepetition', () => {
117118 type : 'error' ,
118119 release : 'v1.0.0' ,
119120 catcherVersion : '2.0.0' ,
120- addons : JSON . stringify ( { userId : 123 } ) ,
121- context : JSON . stringify ( { sessionId : 'abc ' } ) ,
121+ addons : JSON . stringify ( { userId : 777 } ) ,
122+ context : JSON . stringify ( { sessionId : 'xyz ' } ) ,
122123 } ) ;
123124 } ) ;
124125 } ) ;
You can’t perform that action at this time.
0 commit comments