ci-config.js 672 B

12345678910111213141516171819202122232425262728
  1. process.env.CI = true;
  2. const info = console.info;
  3. console.info = function (x) {
  4. if (x !== "secp256k1 unavailable, reverting to browser version") {
  5. info(x);
  6. }
  7. };
  8. const warn = console.warn;
  9. console.warn = function (x) {
  10. if (
  11. x !==
  12. "bigint: Failed to load bindings, pure JS will be used (try npm run rebuild?)" &&
  13. !(
  14. typeof x === "object" &&
  15. x
  16. .toString()
  17. .includes(
  18. "RPC Validation Error: The response returned from RPC server does not match the TypeScript definition. This is likely because the SDK version is not compatible with the RPC server."
  19. )
  20. )
  21. ) {
  22. warn(x);
  23. }
  24. };
  25. export default {};