Skip to content

Commit

Permalink
update jest expect
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Feb 18, 2020
1 parent b90233d commit 6011af3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe('getMetricFields', () => {

expect(metrics[0].getAggType()).toEqual('count');
expect(metrics[0].getName()).toEqual('__kbnjoin__count_groupby_myIndex.myTermField');
expect(await metrics[0].getLabel()).toEqual('count of myIndex:myTermField');
expect(await metrics[0].getLabel()).toEqual('Count of myIndex');
});

it('should remove incomplete metric configurations', async () => {
Expand All @@ -65,7 +65,7 @@ describe('getMetricFields', () => {

expect(metrics[1].getAggType()).toEqual('count');
expect(metrics[1].getName()).toEqual('__kbnjoin__count_groupby_myIndex.myTermField');
expect(await metrics[1].getLabel()).toEqual('count of myIndex:myTermField');
expect(await metrics[1].getLabel()).toEqual('Count of myIndex');
});
});

Expand Down

0 comments on commit 6011af3

Please sign in to comment.