Skip to content

Commit

Permalink
enable global data tags test
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaElastic committed Oct 18, 2024
1 parent 067f902 commit e72461f
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ const TEST_IDS = {
VALUE_INPUT: 'globalDataTagsValueInput',
};

// Failing: See https://github.com/elastic/kibana/issues/192798
describe.skip('GlobalDataTagsTable', () => {
describe('GlobalDataTagsTable', () => {
let renderResult: RenderResult;
let mockUpdateAgentPolicy: jest.Mock;
const globalDataTags: GlobalDataTag[] = [
Expand All @@ -49,8 +48,7 @@ describe.skip('GlobalDataTagsTable', () => {
React.ComponentProps<typeof GlobalDataTagsTable>['updateAgentPolicy']
>((policy) => {
mockUpdateAgentPolicy(policy);
// @ts-expect-error - TODO: fix this, types do not match
_updateAgentPolicy(policy);
_updateAgentPolicy({ ...policy, global_data_tags: policy.global_data_tags ?? [] });
}, []);

return (
Expand Down

0 comments on commit e72461f

Please sign in to comment.