// src/test/test-global-setup.ts
import { BigFloat, eq } from "@awsless/big-float";
import { $mockdate, setGlobalTypes } from "@awsless/json";
beforeAll(() => {
  process.env.TZ = "UTC";
  setGlobalTypes({ $mockdate });
  expect.addEqualityTesters([areBigFloatsEqual]);
});
var areBigFloatsEqual = (a, b) => {
  const isA = a instanceof BigFloat;
  const isB = b instanceof BigFloat;
  if (isA && isB) {
    return eq(a, b);
  } else if (isA === isB) {
    return void 0;
  } else {
    return false;
  }
};
export {
  areBigFloatsEqual
};
