Skip to content

Commit 5800e2a

Browse files
committed
review cghanges
1 parent f3d87ad commit 5800e2a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

test/utils/merge.test.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)