libshv-js 3.3.5 → 3.4.0

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.
package/test.ts CHANGED
@@ -7,6 +7,7 @@ const checkEq = (e1: string | number, e2: string | number) => {
7
7
  throw new Error(`test check error: ${e1} === ${e2}`);
8
8
  }
9
9
  };
10
+
10
11
  for (const lst of [
11
12
  [((2 ** 31) - 1) + 'u', null],
12
13
  [((2 ** 32) - 1) + 'u', null], // too big for JS bitwise operations
@@ -78,6 +79,7 @@ for (const lst of [
78
79
  const cpn2 = toCpon(rv2);
79
80
  checkEq(cpn1, cpn2);
80
81
  }
82
+
81
83
  // same points in time
82
84
  const v1 = fromCpon('d"2017-05-03T18:30:00Z"') as DateTime;
83
85
  const v2 = fromCpon('d"2017-05-03T22:30:00+04"') as DateTime;