From e95a49f65561e8d9f0600a7193e96c9998924e63 Mon Sep 17 00:00:00 2001 From: Kevin Logan Date: Wed, 19 Apr 2023 17:49:32 -0400 Subject: [PATCH] fix tests --- ...grations_state_action_machine.test.ts.snap | 30 +++++++++++++++++++ .../src/initial_state.test.ts | 5 ++++ 2 files changed, 35 insertions(+) diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/__snapshots__/migrations_state_action_machine.test.ts.snap b/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/__snapshots__/migrations_state_action_machine.test.ts.snap index cd2b218d58dd4..e5d9fde9f6c73 100644 --- a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/__snapshots__/migrations_state_action_machine.test.ts.snap +++ b/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/__snapshots__/migrations_state_action_machine.test.ts.snap @@ -134,6 +134,11 @@ Object { "type": "upgrade-assistant-telemetry", }, }, + Object { + "term": Object { + "type": "endpoint:user-artifact", + }, + }, ], }, }, @@ -321,6 +326,11 @@ Object { "type": "upgrade-assistant-telemetry", }, }, + Object { + "term": Object { + "type": "endpoint:user-artifact", + }, + }, ], }, }, @@ -512,6 +522,11 @@ Object { "type": "upgrade-assistant-telemetry", }, }, + Object { + "term": Object { + "type": "endpoint:user-artifact", + }, + }, ], }, }, @@ -707,6 +722,11 @@ Object { "type": "upgrade-assistant-telemetry", }, }, + Object { + "term": Object { + "type": "endpoint:user-artifact", + }, + }, ], }, }, @@ -950,6 +970,11 @@ Object { "type": "upgrade-assistant-telemetry", }, }, + Object { + "term": Object { + "type": "endpoint:user-artifact", + }, + }, ], }, }, @@ -1148,6 +1173,11 @@ Object { "type": "upgrade-assistant-telemetry", }, }, + Object { + "term": Object { + "type": "endpoint:user-artifact", + }, + }, ], }, }, diff --git a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/initial_state.test.ts b/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/initial_state.test.ts index 2dcadc9ab0210..e97cc69ac08b5 100644 --- a/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/initial_state.test.ts +++ b/packages/core/saved-objects/core-saved-objects-migration-server-internal/src/initial_state.test.ts @@ -168,6 +168,11 @@ describe('createInitialState', () => { "type": "upgrade-assistant-telemetry", }, }, + Object { + "term": Object { + "type": "endpoint:user-artifact", + }, + }, ], }, },