mirror of
https://github.com/selfxyz/self.git
synced 2026-01-09 14:48:06 -05:00
Minor app fixes two point nine rd2 (#1462)
* better tests * lockfile naming fixes * format * fix ci issues
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
/* global jest */
|
||||
/** @jest-environment jsdom */
|
||||
|
||||
// Set up Buffer globally for tests that need it
|
||||
const { Buffer } = require('buffer');
|
||||
|
||||
global.Buffer = Buffer;
|
||||
|
||||
// Mock React Native PixelRatio globally before anything else loads
|
||||
const mockPixelRatio = {
|
||||
get: jest.fn(() => 2),
|
||||
|
||||
@@ -5,3 +5,6 @@
|
||||
import { pointsApiBaseUrl } from '@/consts/links';
|
||||
|
||||
export const POINTS_API_BASE_URL = pointsApiBaseUrl;
|
||||
|
||||
export const POINTS_TOKEN_CONTRACT_ADDRESS =
|
||||
'0xfa6279293dfa5b38486ee179e4ddf6806c517a49'; // gitleaks:allow
|
||||
|
||||
@@ -8,7 +8,10 @@ import { SelfAppBuilder } from '@selfxyz/common/utils/appType';
|
||||
|
||||
import { selfLogoReverseUrl } from '@/consts/links';
|
||||
import { getOrGeneratePointsAddress } from '@/providers/authProvider';
|
||||
import { POINTS_API_BASE_URL } from '@/services/points/constants';
|
||||
import {
|
||||
POINTS_API_BASE_URL,
|
||||
POINTS_TOKEN_CONTRACT_ADDRESS,
|
||||
} from '@/services/points/constants';
|
||||
import type { IncomingPoints } from '@/services/points/types';
|
||||
|
||||
export type WhitelistedContract = {
|
||||
|
||||
Reference in New Issue
Block a user