Skip to content

Commit

Permalink
fix: update bigint tests
Browse files Browse the repository at this point in the history
  • Loading branch information
logotip4ik committed Jul 22, 2024
1 parent 8113f6d commit 745e507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if (import.meta.vitest) {
const { it, expect } = import.meta.vitest;

it('toBigInt', () => {
expect(toBigInt('77777777777777777')).toEqual(BigInt(-1));
expect(toBigInt('777777777777777777')).not.toEqual(BigInt(-1));
expect(toBigInt('77777777777777777')).toEqual(BigInt('77777777777777777'));
expect(toBigInt('77777777777777777asd')).toEqual(BigInt(-1));
});
}

0 comments on commit 745e507

Please sign in to comment.