Skip to content

Commit

Permalink
Fix duplicate test name lint warning (#6304)
Browse files Browse the repository at this point in the history
The lint warning about a test title being repeated has been fixed. The
two tests were very similar; the titles have been updated to explain
how they are different.

---------

Co-authored-by: legobeat <[email protected]>
Co-authored-by: LeoTM <[email protected]>
  • Loading branch information
3 people authored May 1, 2023
1 parent 454fb38 commit effdbdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/util/number/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -781,10 +781,10 @@ describe('Number utils :: isZeroValue', () => {
it('returns true for 0', () => {
expect(isZeroValue(0)).toBe(true);
});
it('returns true for 0x0', () => {
it('returns true for hexadecimal string 0x0', () => {
expect(isZeroValue('0x0')).toBe(true);
});
it('returns true for 0x0', () => {
it('returns true for hexadecimal integer literal 0x0', () => {
expect(isZeroValue(0x0)).toBe(true);
});
it('returns true for BN zero value', () => {
Expand Down

0 comments on commit effdbdb

Please sign in to comment.