Refactor example app and add location tracking functionality with tests

This commit is contained in:
2026-02-03 23:06:09 +05:30
parent fb56521d84
commit d1e383baf5
9 changed files with 149 additions and 150 deletions

View File

@@ -0,0 +1,13 @@
module.exports = {
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',
'^.+\\.(js|jsx)$': 'babel-jest'
},
transformIgnorePatterns: ["node_modules/(?!(react-native|@react-native|@react-native/polyfills|@react-native-maps)/)"],
testEnvironment: 'jsdom',
moduleNameMapper: {
'^react-native$': 'react-native'
},
setupFilesAfterEnv: ['@testing-library/jest-native/extend-expect'],
testMatch: ['**/__tests__/**/*.test.(ts|tsx|js)']
};