Skip to content

[SIEM] Review jest match snapshot usage (all core and plugins included into snapshot) #58723

@Dosant

Description

@Dosant

Looks like test
https://github.com/elastic/kibana/blob/master/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/zeek_details.test.tsx#L116
does snapshot matching and the whole core and all plugins public contracts are included into the snapshot.
https://github.com/elastic/kibana/blob/master/x-pack/legacy/plugins/siem/public/components/timeline/body/renderers/zeek/__snapshots__/zeek_details.test.tsx.snap#L874

This causes ANY change to public api in core or plugin to break siem tests.

Introduced in: #57814
Similar to: #58165

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions