mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-06-12 09:51:01 +00:00
fix: Remove workspace config, fix test suite, update snapshots
- Remove root /home/mamostehp/package.json workspace config - Each project now independent (aligned with CI workflow) - Add SafeAreaProvider mock to jest setup - Add __DEV__ global for React Native tests - Update 4 snapshots for SafeAreaView changes - All 29 test suites pass (122 tests)
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
// Setup file that runs BEFORE setupFilesAfterEnv
|
||||
// This is needed to mock Expo's winter runtime before it loads
|
||||
|
||||
// Define __DEV__ global for React Native
|
||||
global.__DEV__ = true;
|
||||
|
||||
// Mock the __ExpoImportMetaRegistry getter to prevent winter errors
|
||||
Object.defineProperty(global, '__ExpoImportMetaRegistry__', {
|
||||
get() {
|
||||
|
||||
Reference in New Issue
Block a user