Skip to content

Commit

Permalink
Update test description
Browse files Browse the repository at this point in the history
  • Loading branch information
gbamparop committed Mar 8, 2022
1 parent ee72674 commit 7467638
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ describe('url_params_context helpers', () => {
});

['s', 'm', 'h', 'd', 'w'].map((roundingOption) =>
it(`removes /${roundingOption} rounding option from relative time`, () => {
it(`doesn't remove /${roundingOption} rounding option when time is not added or subtracted`, () => {
const spy = jest.spyOn(datemath, 'parse');
helpers.getExactDate(`now/${roundingOption}`);
expect(spy).toHaveBeenCalledWith(`now/${roundingOption}`, {});
Expand Down

0 comments on commit 7467638

Please sign in to comment.