Files
notesnook/apps/mobile/native/jest.config.js
Ammar Ahmed 4843d1c39e mobile: update mobile app to react-native 0.72.0 (#2814)
* mobile: upgrade to react-native 0.71

* mobile: update to react-native 0.72.0

* mobile: fix release build on android

* mobile: fix editor stuck in loading state

* mobile: fix bootsplash logo in dark mode

* mobile: update patch files

* mobile: cleanup

* mobile: increase delay

* mobile: add logs on upload

* mobile: ensure editor is ready before note loading

* mobile: fix ui

* mobile: fix

* ci: update workflow

* ci: undo workflow changes

---------

Signed-off-by: Ammar Ahmed <40239442+ammarahm-ed@users.noreply.github.com>
2023-06-26 21:50:20 +05:00

16 lines
424 B
JavaScript

module.exports = {
preset: 'react-native',
testEnvironment: 'node',
transform: {
'^.+\\.ts?$': 'ts-jest',
'^.+\\.(js|jsx)$': 'babel-jest'
},
transformIgnorePatterns: ['<rootDir>/../node_modules/'],
setupFiles: [
'../node_modules/react-native-gesture-handler/jestSetup.js',
'./jest.setup.js',
'../node_modules/react-native-mmkv-storage/jest/mmkvJestSetup.js'
],
roots: ['../__tests__']
};