mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-22 14:51:09 +00:00
chore: remove mobile/ from monorepo, suspend CI mobile job
* chore: update exchange submodule to pex.network release + add shared images Exchange submodule advanced to include: - sweeper.js: TRC-20 JWT Bearer auth, DOT transferAll, PEZ-AH pre-fund - docker-compose.yml: pex.network defaults for VITE_API_BASE_URL and SMTP_FROM - .github/workflows/build-deploy.yml: pex.network build arg for web service Shared images added: keziyakurd, kiwi_perwerde, kurdistan_assembly, pezkuwi, satoshi_qazi_muh * chore: remove mobile/ from monorepo, suspend CI mobile job Mobile app moved to /home/mamostehp/pwap-mobile (local, suspended). Will be re-integrated when mobile development resumes. - Removed mobile/ directory entirely - Removed Mobile App job from quality-gate.yml so CI no longer blocks
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
module.exports = {
|
||||
preset: 'jest-expo',
|
||||
setupFiles: ['<rootDir>/jest.setup.before.cjs'],
|
||||
setupFilesAfterEnv: ['<rootDir>/jest.setup.cjs'],
|
||||
transformIgnorePatterns: [
|
||||
'node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|react-native-svg|@polkadot/.*|@pezkuwi/.*|@babel/runtime)',
|
||||
'!../shared/.*',
|
||||
],
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)$': '<rootDir>/src/$1',
|
||||
'react-native-gesture-handler': '<rootDir>/__mocks__/react-native-gesture-handler.js',
|
||||
'react-native-reanimated': '<rootDir>/__mocks__/react-native-reanimated.js',
|
||||
'^sonner$': '<rootDir>/__mocks__/sonner.js',
|
||||
'@polkadot/extension-dapp': '<rootDir>/__mocks__/polkadot-extension-dapp.js',
|
||||
// Mock shared lib modules that depend on @pezkuwi/api
|
||||
'^.*/shared/lib/tiki$': '<rootDir>/__mocks__/shared-lib-tiki.js',
|
||||
'^.*/shared/lib/referral$': '<rootDir>/__mocks__/shared-lib-referral.js',
|
||||
'^.*/shared/lib/scores$': '<rootDir>/__mocks__/shared-lib-scores.js',
|
||||
},
|
||||
testMatch: ['**/__tests__/**/*.test.(ts|tsx|js)'],
|
||||
collectCoverageFrom: [
|
||||
'src/**/*.{ts,tsx}',
|
||||
'!src/**/*.d.ts',
|
||||
'!src/**/__tests__/**',
|
||||
'!src/**/types/**',
|
||||
],
|
||||
coverageThreshold: {
|
||||
global: {
|
||||
statements: 35,
|
||||
branches: 20,
|
||||
functions: 25,
|
||||
lines: 35,
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user