Skip to content

Commit

Permalink
Fix t-grid test
Browse files Browse the repository at this point in the history
  • Loading branch information
madirey committed Oct 26, 2021
1 parent a840df1 commit 595e979
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/timelines/common/ecs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { Ransomware } from './ransomware';

export type SignalEcsAAD = Exclude<SignalEcs, 'rule' | 'status'> & {
rule?: Exclude<RuleEcs, 'id'> & { uuid: string };
building_block_type?: string;
building_block_type?: string[];
workflow_status?: string[];
};
export interface Ecs {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ describe('helpers', () => {
const mockedSetCellProps = jest.fn();
const ecs = {
...mockDnsEvent,
...{ signal: { rule: { building_block_type: ['default'] } } },
...{ kibana: { alert: { building_block_type: ['default'] } } },
};

addBuildingBlockStyle(ecs, THEME, mockedSetCellProps);
Expand Down

0 comments on commit 595e979

Please sign in to comment.