mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 02:56:07 +00:00
761a7df06f
This commit does many things : - Upgrade `react-native ` to `0.72.5` - Upgrade `react-native-reanimated` to `3.5.4` - Upgrade `react-native-navigation` to `7.37.0` - `ndkVersion` has been bumped to `25.2.9519653` - `cmakeVersion` has been bumped to `3.22.1` - `kotlinVersion` has been bumped to `1.7.22` - `AGP` has been bumped to `7.4.2` - `Gradle` has been upgraded to `8.0.1` - Android `CompileSDK` and `TargetSDK` have been bumped to 33 - `@react-native-async-storage/async-storage` has been upgraded to `1.19.3` - `@walletconnect/client` has been nuked - some of the old `react-native-reanimated` code has been nuked - `react-native-keychain` fork has been replaced with `8.1.2` - On Android we are currently relying on `Hermes` Engine. - On iOS we are currently relying on `JSC` - We are not enabling new architecture for now (I have plans for that in the future) ref: https://github.com/status-im/status-mobile/issues/18138 IOS only PR : https://github.com/status-im/status-mobile/pull/16721 Android only PR : https://github.com/status-im/status-mobile/pull/17062 - `make run-metro` now has a target of `android` which was `clojure` earlier, this will increase the time it takes to start metro terminal but this is needed otherwise you will get a nasty error while developing for android locally.
26 lines
1.1 KiB
JavaScript
26 lines
1.1 KiB
JavaScript
module.exports = {
|
|
preset: 'react-native',
|
|
setupFilesAfterEnv: [
|
|
'@testing-library/jest-native/extend-expect',
|
|
'../component-spec/status_im2.setup.schema_preload.js',
|
|
'../test/jest/jestSetup.js',
|
|
],
|
|
setupFiles: [],
|
|
testPathIgnorePatterns: [],
|
|
moduleNameMapper: {
|
|
'^[@./a-zA-Z0-9$_-]+\\.(png|jpg|jpeg|gif)$':
|
|
'<rootDir>/../node_modules/react-native/Libraries/Image/RelativeImageStub',
|
|
},
|
|
testTimeout: 60000,
|
|
transformIgnorePatterns: [
|
|
'/node_modules/(?!(@react-native|react-native-haptic-feedback|react-native-redash|react-native-image-crop-picker|@react-native-community|react-native-linear-gradient|react-native-background-timer|react-native|rn-emoji-keyboard|react-native-languages|react-native-shake|react-native-reanimated|react-native-redash|react-native-permissions|@react-native-community/blur|react-native-static-safe-area-insets|react-native-hole-view|react-native-gifted-charts)/).*/',
|
|
],
|
|
globals: {
|
|
__TEST__: true,
|
|
},
|
|
testEnvironment: 'node',
|
|
timers: 'fake',
|
|
rootDir: '../../component-spec',
|
|
testMatch: ['**/*__tests__*', '**/*.component_spec.js'],
|
|
};
|