Skip to content

Commit

Permalink
Fixed wording
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankHassanabad committed Oct 13, 2020
1 parent c76d3c4 commit d509e54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('get_threat_signals', () => {
expect(sortOrder).toEqual([{ '@timestamp': 'asc' }]);
});

test('it should return sort field of just timestamp if given no sort order for a list item index', () => {
test('it should return sort field of just tie_breaker_id if given no sort order for a list item index', () => {
const sortOrder = getSortWithTieBreaker({
sortField: undefined,
sortOrder: undefined,
Expand All @@ -38,7 +38,7 @@ describe('get_threat_signals', () => {
expect(sortOrder).toEqual([{ '@timestamp': 'asc' }]);
});

test('it should return sort field of timestamp with asc even if sortOrder is changed as it is hard wired in for a list item index', () => {
test('it should return sort field of tie_breaker_id with asc even if sortOrder is changed as it is hard wired in for a list item index', () => {
const sortOrder = getSortWithTieBreaker({
sortField: undefined,
sortOrder: 'desc',
Expand Down

0 comments on commit d509e54

Please sign in to comment.