mirror of
https://github.com/anultravioletaurora/Jellify.git
synced 2025-12-21 13:30:11 -06:00
FIXING BUN JEST (#719)
* FIXING BUN JEST * Update Jest configuration and add nitro-fetch mocks for improved testing
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
module.exports = {
|
||||
preset: 'react-native',
|
||||
testTimeout: 10000,
|
||||
|
||||
// Performance optimizations for CI
|
||||
maxWorkers: process.env.CI ? 2 : '50%',
|
||||
cacheDirectory: '.jest-cache',
|
||||
|
||||
setupFiles: ['./node_modules/react-native-gesture-handler/jestSetup.js'],
|
||||
setupFilesAfterEnv: [
|
||||
'./jest/setup/setup.ts',
|
||||
@@ -13,6 +18,7 @@ module.exports = {
|
||||
'./jest/setup/rnfs.ts',
|
||||
'./jest/setup/rntp.ts',
|
||||
'./jest/setup/sentry.ts',
|
||||
'./jest/setup/nitro-fetch.ts',
|
||||
'./jest/setup/nitro-image.ts',
|
||||
'./jest/setup/nitro-ota.ts',
|
||||
'./tamagui.config.ts',
|
||||
|
||||
Reference in New Issue
Block a user