Shutdown Realm after tests complete to avoid Jest open connections warning. (#3161)

This commit is contained in:
Corey Farwell
2025-10-28 08:24:28 -04:00
committed by GitHub
parent 54f6e55691
commit 7a9fc4e647

View File

@@ -49,4 +49,5 @@ beforeAll( async ( ) => {
// Ensure the realm connection gets closed
afterAll( ( ) => {
global.realm?.close( );
Realm.shutdown();
} );