Files
Jellify/jest.config.js
Ritesh Shukla 4d560be350 Nitro OTA Package (#560)
Adds internal over-the-air update support

Powered by `react-native-nitro-modules`, this OTA functionality is faster than the previous implementation, and won't slow down the UI when updates are being applied since updates occur off the main thread
2025-10-21 14:28:53 -05:00

28 lines
912 B
JavaScript

// https://docs.swmansion.com/react-native-gesture-handler/docs/guides/testing
module.exports = {
preset: 'react-native',
testTimeout: 10000,
setupFiles: ['./node_modules/react-native-gesture-handler/jestSetup.js'],
setupFilesAfterEnv: [
'./jest/setup/setup.ts',
'./jest/setup/blur.ts',
'./jest/setup/carplay.ts',
'./jest/setup/device-info.js', // JS to prevent Typescript implicit any warning
'./jest/setup/reanimated.ts',
'./jest/setup/rnfs.ts',
'./jest/setup/rntp.ts',
'./jest/setup/sentry.ts',
'./jest/setup/nitro-image.ts',
'./jest/setup/nitro-ota.ts',
'./tamagui.config.ts',
'./jest/setup/native-modules.ts',
],
extensionsToTreatAsEsm: ['.ts', '.tsx'],
transformIgnorePatterns: [
'node_modules/(?!(@)?(react-native|react-native-.*|react-navigation|jellyfin|burnt|expo|expo-.*|shopify)/)',
],
moduleNameMapper: {
'^.+\\.ttf$': '<rootDir>/jest/setup/file-mock.ts',
},
}