* add leaf sync to sync after payments * add local leaf storage * create leaf timeout function * adding leaves function * adding compatibility for blink recovery tool * add UI to handle export * adding function to get root nodes * fix transaction overlap bug * adding loading half modal since process can take some time * cache full exit path to sql * change wallet leaves to wallet backup, and update icon * when force mode sync for all leaves not just pending ones * fix modal double navigation bug * add wallet backup to doomsday row
24 lines
957 B
JavaScript
24 lines
957 B
JavaScript
// Packages that ship untranspiled ES modules and must be run through babel-jest.
|
|
// The react-native preset only whitelists react-native/@react-native(-community);
|
|
// add any other ESM dependency that a test imports (directly or transitively) here.
|
|
const esModules = [
|
|
'(jest-)?react-native',
|
|
'@react-native(-community)?',
|
|
'@react-navigation',
|
|
'@react-native-firebase',
|
|
'@noble',
|
|
'@buildonspark/spark-sdk',
|
|
'@bufbuild/protobuf',
|
|
].join('|');
|
|
|
|
module.exports = {
|
|
preset: 'react-native',
|
|
// Ignore git worktrees so their duplicate test files / modules are not
|
|
// collected (prevents haste naming collisions and phantom failures).
|
|
modulePathIgnorePatterns: ['<rootDir>/.worktrees/'],
|
|
testPathIgnorePatterns: ['/node_modules/', '<rootDir>/.worktrees/'],
|
|
transformIgnorePatterns: [`node_modules/(?!(${esModules})/)`],
|
|
// Global mocks shared by every test (e.g. Firebase native modules).
|
|
setupFiles: ['<rootDir>/jest.setup.js'],
|
|
};
|