Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierM committed Jun 23, 2020
1 parent 92def42 commit 50ced3b
Showing 1 changed file with 16 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,13 @@ describe('SIEM Navigation', () => {
name: 'Timelines',
urlKey: 'timeline',
},
endpointAlerts: {
disabled: false,
href: '/app/security/endpoint-alerts',
id: 'endpointAlerts',
name: 'Endpoint Alerts',
urlKey: 'management',
},
},
pageName: 'hosts',
pathName: '/',
Expand Down Expand Up @@ -185,7 +192,7 @@ describe('SIEM Navigation', () => {
wrapper.setProps({
pageName: 'network',
pathName: '/',
tabName: undefined,
tabName: 'authentications',
});
wrapper.update();
expect(setBreadcrumbs).toHaveBeenNthCalledWith(
Expand All @@ -209,7 +216,13 @@ describe('SIEM Navigation', () => {
name: 'Cases',
urlKey: 'case',
},

endpointAlerts: {
disabled: false,
href: '/app/security/endpoint-alerts',
id: 'endpointAlerts',
name: 'Endpoint Alerts',
urlKey: 'management',
},
hosts: {
disabled: false,
href: '/app/security/hosts',
Expand Down Expand Up @@ -252,7 +265,7 @@ describe('SIEM Navigation', () => {
savedQuery: undefined,
search: '',
state: undefined,
tabName: undefined,
tabName: 'authentications',
timeline: { id: '', isOpen: false },
timerange: {
global: {
Expand Down

0 comments on commit 50ced3b

Please sign in to comment.