From a8cd2f4c887e9c259021476afb9821fd14258c99 Mon Sep 17 00:00:00 2001 From: Szymon Lesisz Date: Wed, 29 Jan 2025 14:37:52 +0100 Subject: [PATCH] test(react-native): fix teardown order --- suite-native/app/e2e/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite-native/app/e2e/utils.ts b/suite-native/app/e2e/utils.ts index d4a4da373ae..599dfd42099 100644 --- a/suite-native/app/e2e/utils.ts +++ b/suite-native/app/e2e/utils.ts @@ -118,8 +118,8 @@ export const prepareTrezorEmulator = async ( export const disconnectTrezorUserEnv = async () => { // Clear the connection to the Trezor emulator so the test does not synchronize with it when not necessary. await TrezorUserEnvLink.stopEmu(); - await TrezorUserEnvLink.disconnect(); await TrezorUserEnvLink.stopBridge(); + await TrezorUserEnvLink.disconnect(); }; export const wait = async (ms: number) => {