Skip to content

Commit

Permalink
Use mock data
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed Feb 19, 2021
1 parent 2d4f030 commit 36b56ff
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,12 @@ function mockIndexPatternsService() {
getIdsWithTitle: jest.fn(async () => {
return [
{
id: '1',
title: 'my-fake-index-pattern',
id: sampleIndexPatterns[1].id,
title: sampleIndexPatterns[1].title,
},
{
id: '2',
title: 'my-fake-restricted-pattern',
id: sampleIndexPatterns[2].id,
title: sampleIndexPatterns[2].title,
},
];
}),
Expand Down

0 comments on commit 36b56ff

Please sign in to comment.