Files
zeekay 55a7f247ca init: extract wallet from lux/exchange monorepo
Copies apps/extension, apps/mobile and 10 pkgs (wallet, ui, config,
utilities, sessions, gating, notifications, analytics, eslint-config,
prices) into a standalone pnpm workspace.  Resolves merge conflict
markers in extension and mobile package.json files, strips build
artifacts (.wxt, .output, Pods).
2026-04-11 01:59:19 -07:00

28 lines
828 B
JavaScript

const preset = require('../../config/jest-presets/jest/jest-preset')
module.exports = {
...preset,
testTimeout: 15000,
testEnvironmentOptions: {
...preset.testEnvironmentOptions,
customExportConditions: ['react-native'],
},
preset: 'jest-expo',
displayName: 'Mobile Wallet',
collectCoverageFrom: [
'src/**/*.{js,ts,tsx}',
'!src/test/**', // test helpers
'!src/**/*.stories.**',
'!**/node_modules/**',
],
coverageThreshold: {
global: {
lines: 0,
},
},
// Override moduleFileExtensions to NOT prioritize .web.ts for native tests
// This ensures mobile tests use moti animations from index.ts, not CSS from index.web.ts
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
setupFiles: ['../../config/jest-presets/jest/setup.js', './jest-setup.js'],
}