Skip to content

Commit

Permalink
fixes jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MadameSheema committed Jul 9, 2020
1 parent 957e53c commit 221209f
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('Index Fields & Browser Fields', () => {
indexPattern: {
fields: [],
title:
'apm-*-transaction*,auditbeat-*,endgame-*,filebeat-*,packetbeat-*,winlogbeat-*,logs-*',
'apm-*-transaction*,auditbeat-*,endgame-*,filebeat-*,logs-*,packetbeat-*,winlogbeat-*',
},
indicesExist: true,
loading: true,
Expand Down Expand Up @@ -59,7 +59,7 @@ describe('Index Fields & Browser Fields', () => {
indexPattern: {
fields: mockIndexFields,
title:
'apm-*-transaction*,auditbeat-*,endgame-*,filebeat-*,packetbeat-*,winlogbeat-*,logs-*',
'apm-*-transaction*,auditbeat-*,endgame-*,filebeat-*,logs-*,packetbeat-*,winlogbeat-*',
},
loading: false,
errorMessage: null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,9 @@ describe('useFetchIndexPatterns', () => {
'auditbeat-*',
'endgame-*',
'filebeat-*',
'logs-*',
'packetbeat-*',
'winlogbeat-*',
'logs-*',
],
name: 'event.end',
searchable: true,
Expand All @@ -369,9 +369,9 @@ describe('useFetchIndexPatterns', () => {
'auditbeat-*',
'endgame-*',
'filebeat-*',
'logs-*',
'packetbeat-*',
'winlogbeat-*',
'logs-*',
],
indicesExists: true,
indexPatterns: {
Expand Down Expand Up @@ -418,7 +418,7 @@ describe('useFetchIndexPatterns', () => {
{ name: 'event.end', searchable: true, type: 'date', aggregatable: true },
],
title:
'apm-*-transaction*,auditbeat-*,endgame-*,filebeat-*,packetbeat-*,winlogbeat-*,logs-*',
'apm-*-transaction*,auditbeat-*,endgame-*,filebeat-*,logs-*,packetbeat-*,winlogbeat-*',
},
},
result.current[1],
Expand Down Expand Up @@ -450,9 +450,9 @@ describe('useFetchIndexPatterns', () => {
'auditbeat-*',
'endgame-*',
'filebeat-*',
'logs-*',
'packetbeat-*',
'winlogbeat-*',
'logs-*',
],
indicesExists: false,
isLoading: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ const mockOpenTimelineQueryResults: MockedProvidedQuery[] = [
'auditbeat-*',
'endgame-*',
'filebeat-*',
'logs-*',
'packetbeat-*',
'winlogbeat-*',
'logs-*',
],
inspect: false,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ const mockOpenTimelineQueryResults: MockedProvidedQuery[] = [
'auditbeat-*',
'endgame-*',
'filebeat-*',
'logs-*',
'packetbeat-*',
'winlogbeat-*',
'logs-*',
],
inspect: false,
},
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 221209f

Please sign in to comment.