@swapkit/helpers 1.0.0-rc.71 → 1.0.0-rc.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,30 +1,30 @@
1
- import { describe, expect, test } from 'vitest';
1
+ import { describe, expect, test } from "vitest";
2
2
 
3
- import { formatBigIntToSafeValue } from '../bigIntArithmetics.ts';
3
+ import { formatBigIntToSafeValue } from "../bigIntArithmetics.ts";
4
4
 
5
- describe('BigIntArithmatics', () => {
6
- describe('formatBigIntToSafeValue', () => {
7
- test('parse bigint with decimals to string', () => {
5
+ describe("BigIntArithmatics", () => {
6
+ describe("formatBigIntToSafeValue", () => {
7
+ test("parse bigint with decimals to string", () => {
8
8
  const safeValue1 = formatBigIntToSafeValue({
9
9
  value: BigInt(0),
10
10
  decimal: 6,
11
11
  bigIntDecimal: 6,
12
12
  });
13
- expect(safeValue1).toBe('0');
13
+ expect(safeValue1).toBe("0");
14
14
 
15
15
  const safeValue2 = formatBigIntToSafeValue({
16
16
  value: BigInt(15),
17
17
  decimal: 0,
18
18
  bigIntDecimal: 0,
19
19
  });
20
- expect(safeValue2).toBe('15');
20
+ expect(safeValue2).toBe("15");
21
21
 
22
22
  const safeValue3 = formatBigIntToSafeValue({
23
23
  value: BigInt(123456789),
24
24
  decimal: 4,
25
25
  bigIntDecimal: 4,
26
26
  });
27
- expect(safeValue3).toBe('12345.6789');
27
+ expect(safeValue3).toBe("12345.6789");
28
28
  });
29
29
  });
30
30
  });