Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
jen-huang committed Aug 6, 2024
1 parent d0154c3 commit eef7592
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions x-pack/plugins/fleet/server/mocks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ export const createPackagePolicyServiceMock = (): jest.Mocked<PackagePolicyClien
},
};
}),
removeOutputFromAll: jest.fn(),
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const migratePackagePolicyToV850: SavedObjectMigrationFn<PackagePolicy, P
packagePolicyDoc,
migrationContext
) => {
// @ts-expect-error output_id property does not exists anymore
delete packagePolicyDoc.attributes.output_id;

return packagePolicyDoc;
Expand Down

0 comments on commit eef7592

Please sign in to comment.