Skip to content

Commit

Permalink
[Newsfeed/Lint] fix chained fn lint (elastic#50515)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan authored and chrisronline committed Nov 14, 2019
1 parent dcc523a commit 4723439
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/plugins/newsfeed/public/lib/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -631,10 +631,7 @@ describe('getApi', () => {
.mockImplementationOnce(getHttpMockWithItems(successItems));

getApi(httpMock, configMock.newsfeed, '6.8.2')
.pipe(
take(4),
toArray()
)
.pipe(take(4), toArray())
.subscribe(result => {
expect(result).toMatchInlineSnapshot(`
Array [
Expand Down

0 comments on commit 4723439

Please sign in to comment.