Skip to content

Commit e4f0d89

Browse files
authored
Merge pull request #55000 from margelo/@perunt/e2e-fix-empty-account
[No QA] Fix empty e2e account
2 parents 16ad2bc + 41155cb commit e4f0d89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/actions/QueuedOnyxUpdates.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function queueOnyxUpdates(updates: OnyxUpdate[]): Promise<void> {
2525
}
2626

2727
function flushQueue(): Promise<void> {
28-
if (!currentAccountID && !CONFIG.IS_TEST_ENV) {
28+
if (!currentAccountID && !CONFIG.IS_TEST_ENV && !CONFIG.E2E_TESTING) {
2929
const preservedKeys: OnyxKey[] = [
3030
ONYXKEYS.NVP_TRY_FOCUS_MODE,
3131
ONYXKEYS.PREFERRED_THEME,

0 commit comments

Comments
 (0)