72f9400756
CI / lint-typecheck-test (push) Has been cancelled
Configure GitHub Actions for linting, typechecking, and testing. Add Husky and lint-staged for pre-commit checks. Implement API response caching in AsyncStorage for offline support. Move core tests to packages/core and add vitest configuration.
12 lines
522 B
JavaScript
12 lines
522 B
JavaScript
module.exports = {
|
|
preset: 'jest-expo',
|
|
testMatch: ['**/__tests__/**/*.test.[jt]s?(x)'],
|
|
moduleNameMapper: {
|
|
'^@react-native-async-storage/async-storage$':
|
|
'@react-native-async-storage/async-storage/jest/async-storage-mock',
|
|
},
|
|
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|@sentry/.*|@fortawesome/.*)',
|
|
],
|
|
};
|