Skip to content

Commit

Permalink
Address code review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stacey-gammon committed Nov 22, 2016
1 parent a6fd8f0 commit fce433d
Showing 2 changed files with 227 additions and 76 deletions.
2 changes: 1 addition & 1 deletion src/test_utils/stub_mapper.js
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ export function stubMapper(Private, mockLogstashFields = Private(stubbedLogstash
let stubbedMapper = Private(MapperService);

sinon.stub(stubbedMapper, 'getFieldsForIndexPattern', function () {
return Promise.resolve(mockLogstashFields.filter((field) => { return field.scripted === false; }));
return Promise.resolve(mockLogstashFields.filter(field => field.scripted === false));
});

sinon.stub(stubbedMapper, 'clearCache', function () {
Loading

0 comments on commit fce433d

Please sign in to comment.