Skip to content

Commit 28e028b

Browse files
committed
fixed due to comments
1 parent 18408bd commit 28e028b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

x-pack/plugins/actions/server/saved_objects/migrations.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)