Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal committed Mar 9, 2022
1 parent 933becd commit b6ef72e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('getDefaultSort function', function () {

test('should return default sort for an index pattern with timeFieldName', function () {
expect(getDefaultSort(stubDataView, 'desc')).toEqual([['@timestamp', 'desc']]);
expect(getDefaultSort(stubDataViewWithoutTimeField, 'asc')).toEqual([['@timestamp', 'asc']]);
expect(getDefaultSort(stubDataView, 'asc')).toEqual([['@timestamp', 'asc']]);
});

test('should return default sort for an index pattern without timeFieldName', function () {
Expand Down

0 comments on commit b6ef72e

Please sign in to comment.