Skip to content

Commit

Permalink
update tests in other x-pack plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed May 12, 2021
1 parent b39eebf commit 31e1ff7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugins/reporting/server/config/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const applyReportingDeprecations = (settings: Record<string, any> = {}) => {
const deprecationMessages: string[] = [];
const _config: any = {};
_config[CONFIG_PATH] = settings;
const migrated = applyDeprecations(
const { config: migrated } = applyDeprecations(
_config,
deprecations.map((deprecation) => ({
deprecation,
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/task_manager/server/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const applyTaskManagerDeprecations = (settings: Record<string, unknown> = {}) =>
const _config = {
[CONFIG_PATH]: settings,
};
const migrated = applyDeprecations(
const { config: migrated } = applyDeprecations(
_config,
deprecations.map((deprecation) => ({
deprecation,
Expand Down

0 comments on commit 31e1ff7

Please sign in to comment.