mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
Shutdown Realm after tests complete to avoid Jest open connections warning. (#3161)
This commit is contained in:
@@ -49,4 +49,5 @@ beforeAll( async ( ) => {
|
||||
// Ensure the realm connection gets closed
|
||||
afterAll( ( ) => {
|
||||
global.realm?.close( );
|
||||
Realm.shutdown();
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user