Refactor example app and add location tracking functionality with tests
This commit is contained in:
13
packages/map-sdk/jest.config.js
Normal file
13
packages/map-sdk/jest.config.js
Normal 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)']
|
||||
};
|
||||
Reference in New Issue
Block a user