From 2a19bb02ea15522bc199067e5152c79577e11b00 Mon Sep 17 00:00:00 2001
From: "huult (via MelvinBot)" <infra+melvinbot@expensify.com>
Date: Tue, 30 Jun 2026 15:16:04 +0000
Subject: [PATCH 1/5] Fix: show generic Make admin copy for group chat members

Co-authored-by: huult <huult@users.noreply.github.com>
---
 src/languages/de.ts                         | 4 ++++
 src/languages/en.ts                         | 4 ++++
 src/languages/es.ts                         | 4 ++++
 src/languages/fr.ts                         | 4 ++++
 src/languages/it.ts                         | 4 ++++
 src/languages/ja.ts                         | 4 ++++
 src/languages/nl.ts                         | 4 ++++
 src/languages/pl.ts                         | 4 ++++
 src/languages/pt-BR.ts                      | 4 ++++
 src/languages/zh-hans.ts                    | 4 ++++
 src/pages/DynamicReportParticipantsPage.tsx | 2 +-
 11 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/src/languages/de.ts b/src/languages/de.ts
index 24f94eeeae19..0cf64ebac608 100644
--- a/src/languages/de.ts
+++ b/src/languages/de.ts
@@ -6352,6 +6352,10 @@ _Für ausführlichere Anweisungen [besuchen Sie unsere Hilfeseite](${CONST.NETSU
                 one: 'Als Workspace-Admin festlegen',
                 other: 'Workspace-Admins ernennen',
             }),
+            makeGroupAdmin: () => ({
+                one: 'Als Admin festlegen',
+                other: 'Admins ernennen',
+            }),
             makeAuditor: () => ({
                 one: 'Zum Prüfer machen',
                 other: 'Prüfende hinzufügen',
diff --git a/src/languages/en.ts b/src/languages/en.ts
index e1b8fb07ffa3..7aa84644ec9b 100644
--- a/src/languages/en.ts
+++ b/src/languages/en.ts
@@ -6406,6 +6406,10 @@ const translations = {
                 one: 'Make workspace admin',
                 other: 'Make workspace admins',
             }),
+            makeGroupAdmin: () => ({
+                one: 'Make admin',
+                other: 'Make admins',
+            }),
             makeAuditor: () => ({
                 one: 'Make auditor',
                 other: 'Make auditors',
diff --git a/src/languages/es.ts b/src/languages/es.ts
index f8e09a6398d1..68d7b25a28db 100644
--- a/src/languages/es.ts
+++ b/src/languages/es.ts
@@ -6183,6 +6183,10 @@ ${amount} para ${merchant} - ${date}`,
                 one: 'Hacer administrador del espacio de trabajo',
                 other: 'Convertir en administradores del espacio de trabajo',
             }),
+            makeGroupAdmin: () => ({
+                one: 'Hacer administrador',
+                other: 'Convertir en administradores',
+            }),
             makeAuditor: () => ({
                 one: 'Convertir en auditor',
                 other: 'Convertir en auditores',
diff --git a/src/languages/fr.ts b/src/languages/fr.ts
index 88fa4ebcae0d..e1207d74f0f2 100644
--- a/src/languages/fr.ts
+++ b/src/languages/fr.ts
@@ -6376,6 +6376,10 @@ _Pour des instructions plus détaillées, [visitez notre site d’aide](${CONST.
                 one: 'Nommer administrateur de l’espace de travail',
                 other: 'Nommer des administrateurs de l’espace de travail',
             }),
+            makeGroupAdmin: () => ({
+                one: 'Nommer administrateur',
+                other: 'Nommer des administrateurs',
+            }),
             makeAuditor: () => ({
                 one: 'Nommer auditeur',
                 other: 'Créer des auditeurs',
diff --git a/src/languages/it.ts b/src/languages/it.ts
index 22f1c24f722a..7ee98f3d3263 100644
--- a/src/languages/it.ts
+++ b/src/languages/it.ts
@@ -6340,6 +6340,10 @@ _Per istruzioni più dettagliate, [visita il nostro sito di assistenza](${CONST.
                 one: 'Rendi amministratore dello spazio di lavoro',
                 other: 'Rendi amministratori dello spazio di lavoro',
             }),
+            makeGroupAdmin: () => ({
+                one: 'Rendi amministratore',
+                other: 'Rendi amministratori',
+            }),
             makeAuditor: () => ({
                 one: 'Rendi revisore',
                 other: 'Crea revisori',
diff --git a/src/languages/ja.ts b/src/languages/ja.ts
index d9d7f87120e2..9443a2a846a5 100644
--- a/src/languages/ja.ts
+++ b/src/languages/ja.ts
@@ -6267,6 +6267,10 @@ _詳しい手順については、[ヘルプサイトをご覧ください](${CO
                 one: 'ワークスペース管理者にする',
                 other: 'ワークスペース管理者にする',
             }),
+            makeGroupAdmin: () => ({
+                one: '管理者にする',
+                other: '管理者にする',
+            }),
             makeAuditor: () => ({
                 one: '監査担当者に設定',
                 other: '監査担当者を作成',
diff --git a/src/languages/nl.ts b/src/languages/nl.ts
index 33a50fcd0037..ec6378f280fe 100644
--- a/src/languages/nl.ts
+++ b/src/languages/nl.ts
@@ -6322,6 +6322,10 @@ _Voor meer gedetailleerde instructies, [bezoek onze help-site](${CONST.NETSUITE_
                 one: 'Workspace-beheerder maken',
                 other: 'Workspace-beheerders maken',
             }),
+            makeGroupAdmin: () => ({
+                one: 'Admin maken',
+                other: 'Beheerders maken',
+            }),
             makeAuditor: () => ({
                 one: 'Auditeur maken',
                 other: 'Auditors aanmaken',
diff --git a/src/languages/pl.ts b/src/languages/pl.ts
index 5f6f2b1f6a82..afb3b3711714 100644
--- a/src/languages/pl.ts
+++ b/src/languages/pl.ts
@@ -6314,6 +6314,10 @@ _Aby uzyskać bardziej szczegółowe instrukcje, [odwiedź naszą stronę pomocy
                 one: 'Ustaw jako administratora przestrzeni roboczej',
                 other: 'Ustaw jako administratorów przestrzeni roboczej',
             }),
+            makeGroupAdmin: () => ({
+                one: 'Ustaw jako administratora',
+                other: 'Ustaw jako administratorów',
+            }),
             makeAuditor: () => ({
                 one: 'Ustaw jako audytora',
                 other: 'Utwórz audytorów',
diff --git a/src/languages/pt-BR.ts b/src/languages/pt-BR.ts
index f7c967cebe8c..2933becec01b 100644
--- a/src/languages/pt-BR.ts
+++ b/src/languages/pt-BR.ts
@@ -6314,6 +6314,10 @@ _Para instruções mais detalhadas, [visite nossa central de ajuda](${CONST.NETS
                 one: 'Tornar admin do workspace',
                 other: 'Tornar admins do workspace',
             }),
+            makeGroupAdmin: () => ({
+                one: 'Tornar admin',
+                other: 'Tornar admins',
+            }),
             makeAuditor: () => ({
                 one: 'Tornar auditor',
                 other: 'Tornar auditores',
diff --git a/src/languages/zh-hans.ts b/src/languages/zh-hans.ts
index 4ad48b461da4..842c74094951 100644
--- a/src/languages/zh-hans.ts
+++ b/src/languages/zh-hans.ts
@@ -6148,6 +6148,10 @@ _如需更详细的说明，请[访问我们的帮助网站](${CONST.NETSUITE_IM
                 one: '设为工作区管理员',
                 other: '设为工作区管理员',
             }),
+            makeGroupAdmin: () => ({
+                one: '设为管理员',
+                other: '设为管理员',
+            }),
             makeAuditor: () => ({
                 one: '设为审计员',
                 other: '创建审计员',
diff --git a/src/pages/DynamicReportParticipantsPage.tsx b/src/pages/DynamicReportParticipantsPage.tsx
index 50979eb8053c..966dd0087475 100755
--- a/src/pages/DynamicReportParticipantsPage.tsx
+++ b/src/pages/DynamicReportParticipantsPage.tsx
@@ -281,7 +281,7 @@ function DynamicReportParticipantsPage({report}: DynamicReportParticipantsPagePr
         ...(isAtLeastOneMemberSelected
             ? [
                   {
-                      text: translate('workspace.people.makeAdmin', {count: selectedMembers.length}),
+                      text: translate('workspace.people.makeGroupAdmin', {count: selectedMembers.length}),
                       value: CONST.POLICY.MEMBERS_BULK_ACTION_TYPES.MAKE_ADMIN,
                       icon: icons.MakeAdmin,
                       onSelected: () => changeUserRole(CONST.REPORT.ROLE.ADMIN),

From 54a5f047043d9302683a99e6b76232ee97a18b07 Mon Sep 17 00:00:00 2001
From: "huult (via MelvinBot)" <infra+melvinbot@expensify.com>
Date: Tue, 30 Jun 2026 15:40:47 +0000
Subject: [PATCH 2/5] Fix generateTranslations injection for pluralized
 arrow-function keys

Co-authored-by: huult <huult@users.noreply.github.com>
---
 scripts/utils/TSCompilerUtils.ts  | 42 ++++++++++++++++++++++++-------
 tests/unit/TSCompilerUtilsTest.ts | 31 +++++++++++++++++++++++
 2 files changed, 64 insertions(+), 9 deletions(-)

diff --git a/scripts/utils/TSCompilerUtils.ts b/scripts/utils/TSCompilerUtils.ts
index 6c2431608da5..5d2b41bd28e3 100644
--- a/scripts/utils/TSCompilerUtils.ts
+++ b/scripts/utils/TSCompilerUtils.ts
@@ -449,15 +449,26 @@ function injectDeepObjectValue(objectLiteral: ts.ObjectLiteralExpression, dotPat
         }
 
         // Recursively inject into the existing nested structure
-        // Handle both direct ObjectLiteralExpression and SatisfiesExpression wrapping an object
+        // Handle direct ObjectLiteralExpression, SatisfiesExpression wrapping an object,
+        // and arrow functions returning an object (e.g. pluralized translations: `() => ({one: '...', other: '...'})`)
         let nestedObject: ts.ObjectLiteralExpression | undefined;
         let satisfiesType: ts.TypeNode | undefined;
-
-        if (ts.isObjectLiteralExpression(existingProperty.initializer)) {
-            nestedObject = existingProperty.initializer;
-        } else if (ts.isSatisfiesExpression(existingProperty.initializer) && ts.isObjectLiteralExpression(existingProperty.initializer.expression)) {
-            nestedObject = existingProperty.initializer.expression;
-            satisfiesType = existingProperty.initializer.type;
+        let arrowFunction: ts.ArrowFunction | undefined;
+
+        const {initializer} = existingProperty;
+        if (ts.isObjectLiteralExpression(initializer)) {
+            nestedObject = initializer;
+        } else if (ts.isSatisfiesExpression(initializer) && ts.isObjectLiteralExpression(initializer.expression)) {
+            nestedObject = initializer.expression;
+            satisfiesType = initializer.type;
+        } else if (ts.isArrowFunction(initializer)) {
+            // Unwrap the object returned by the arrow function so we can inject into it.
+            // The body is parenthesized in the `() => ({...})` form, but handle a bare object body too.
+            const body = ts.isParenthesizedExpression(initializer.body) ? initializer.body.expression : initializer.body;
+            if (ts.isObjectLiteralExpression(body)) {
+                nestedObject = body;
+                arrowFunction = initializer;
+            }
         }
 
         if (!nestedObject) {
@@ -466,8 +477,21 @@ function injectDeepObjectValue(objectLiteral: ts.ObjectLiteralExpression, dotPat
 
         const updatedNestedObject = injectDeepObjectValue(nestedObject, remainingPath, value);
 
-        // Re-wrap with satisfies if it was originally wrapped
-        const finalValue = satisfiesType ? ts.factory.createSatisfiesExpression(updatedNestedObject, satisfiesType) : updatedNestedObject;
+        // Re-wrap the injected object to match the shape of the original initializer
+        let finalValue: ts.Expression = updatedNestedObject;
+        if (satisfiesType) {
+            finalValue = ts.factory.createSatisfiesExpression(updatedNestedObject, satisfiesType);
+        } else if (arrowFunction) {
+            finalValue = ts.factory.updateArrowFunction(
+                arrowFunction,
+                arrowFunction.modifiers,
+                arrowFunction.typeParameters,
+                arrowFunction.parameters,
+                arrowFunction.type,
+                arrowFunction.equalsGreaterThanToken,
+                ts.factory.createParenthesizedExpression(updatedNestedObject),
+            );
+        }
 
         const updatedProperty = ts.factory.createPropertyAssignment(topLevelKey, finalValue);
         const updatedProperties = objectLiteral.properties.map((prop) => (prop === existingProperty ? updatedProperty : prop));
diff --git a/tests/unit/TSCompilerUtilsTest.ts b/tests/unit/TSCompilerUtilsTest.ts
index e2f70b814905..265870bb5d97 100644
--- a/tests/unit/TSCompilerUtilsTest.ts
+++ b/tests/unit/TSCompilerUtilsTest.ts
@@ -1072,6 +1072,37 @@ describe('TSCompilerUtils', () => {
             expect((nestedProp.initializer as ts.StringLiteral).text).toBe('test value');
         });
 
+        it('should inject into an object returned by an arrow function (pluralized translations)', () => {
+            // Pluralized translations use the form `key: () => ({one: '...', other: '...'})`
+            const initializer = TSCompilerUtils.parseCodeStringToAST("() => ({one: 'Make admin', other: 'Make admins'})") as ts.ArrowFunction;
+            const existingProperty = ts.factory.createPropertyAssignment('makeGroupAdmin', initializer);
+            const objectLiteral = ts.factory.createObjectLiteralExpression([existingProperty]);
+
+            const newValue = ts.factory.createStringLiteral('Hacer admin');
+            const updatedObject = TSCompilerUtils.injectDeepObjectValue(objectLiteral, 'makeGroupAdmin.one', newValue);
+
+            const updatedProperty = updatedObject.properties.at(0) as ts.PropertyAssignment;
+            expect((updatedProperty.name as ts.Identifier).text).toBe('makeGroupAdmin');
+
+            // The arrow function wrapper should be preserved
+            expect(ts.isArrowFunction(updatedProperty.initializer)).toBe(true);
+            const arrowFunction = updatedProperty.initializer as ts.ArrowFunction;
+            const body = ts.isParenthesizedExpression(arrowFunction.body) ? arrowFunction.body.expression : arrowFunction.body;
+            expect(ts.isObjectLiteralExpression(body)).toBe(true);
+
+            const returnedObject = body as ts.ObjectLiteralExpression;
+            const oneProp = returnedObject.properties.find(
+                (prop) => ts.isPropertyAssignment(prop) && ts.isIdentifier(prop.name) && prop.name.text === 'one',
+            ) as ts.PropertyAssignment;
+            const otherProp = returnedObject.properties.find(
+                (prop) => ts.isPropertyAssignment(prop) && ts.isIdentifier(prop.name) && prop.name.text === 'other',
+            ) as ts.PropertyAssignment;
+
+            // The targeted leaf is replaced and the sibling leaf is preserved
+            expect((oneProp.initializer as ts.StringLiteral).text).toBe('Hacer admin');
+            expect((otherProp.initializer as ts.StringLiteral).text).toBe('Make admins');
+        });
+
         it('should throw error when trying to inject into non-object property', () => {
             // Start with existing property that's not an object
             const existingProperty = ts.factory.createPropertyAssignment('existing', ts.factory.createStringLiteral('value'));

From 9a622a8299b67a2f1fa2886c7458c002dd1115be Mon Sep 17 00:00:00 2001
From: "huult (via MelvinBot)" <infra+melvinbot@expensify.com>
Date: Tue, 30 Jun 2026 15:44:59 +0000
Subject: [PATCH 3/5] Fix spellcheck: replace 'Hacer' with 'Updated' in test
 string

Co-authored-by: huult <huult@users.noreply.github.com>
---
 tests/unit/TSCompilerUtilsTest.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/unit/TSCompilerUtilsTest.ts b/tests/unit/TSCompilerUtilsTest.ts
index 265870bb5d97..b9e01fc21448 100644
--- a/tests/unit/TSCompilerUtilsTest.ts
+++ b/tests/unit/TSCompilerUtilsTest.ts
@@ -1078,7 +1078,7 @@ describe('TSCompilerUtils', () => {
             const existingProperty = ts.factory.createPropertyAssignment('makeGroupAdmin', initializer);
             const objectLiteral = ts.factory.createObjectLiteralExpression([existingProperty]);
 
-            const newValue = ts.factory.createStringLiteral('Hacer admin');
+            const newValue = ts.factory.createStringLiteral('Updated admin');
             const updatedObject = TSCompilerUtils.injectDeepObjectValue(objectLiteral, 'makeGroupAdmin.one', newValue);
 
             const updatedProperty = updatedObject.properties.at(0) as ts.PropertyAssignment;
@@ -1099,7 +1099,7 @@ describe('TSCompilerUtils', () => {
             ) as ts.PropertyAssignment;
 
             // The targeted leaf is replaced and the sibling leaf is preserved
-            expect((oneProp.initializer as ts.StringLiteral).text).toBe('Hacer admin');
+            expect((oneProp.initializer as ts.StringLiteral).text).toBe('Updated admin');
             expect((otherProp.initializer as ts.StringLiteral).text).toBe('Make admins');
         });
 

From db6495d8aee8e7cc3a96de081242b775011e565a Mon Sep 17 00:00:00 2001
From: "huult (via MelvinBot)" <infra+melvinbot@expensify.com>
Date: Tue, 30 Jun 2026 15:48:32 +0000
Subject: [PATCH 4/5] Fix Prettier formatting in TSCompilerUtilsTest

Co-authored-by: huult <huult@users.noreply.github.com>
---
 tests/unit/TSCompilerUtilsTest.ts | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/tests/unit/TSCompilerUtilsTest.ts b/tests/unit/TSCompilerUtilsTest.ts
index b9e01fc21448..26285ccc646e 100644
--- a/tests/unit/TSCompilerUtilsTest.ts
+++ b/tests/unit/TSCompilerUtilsTest.ts
@@ -1091,12 +1091,8 @@ describe('TSCompilerUtils', () => {
             expect(ts.isObjectLiteralExpression(body)).toBe(true);
 
             const returnedObject = body as ts.ObjectLiteralExpression;
-            const oneProp = returnedObject.properties.find(
-                (prop) => ts.isPropertyAssignment(prop) && ts.isIdentifier(prop.name) && prop.name.text === 'one',
-            ) as ts.PropertyAssignment;
-            const otherProp = returnedObject.properties.find(
-                (prop) => ts.isPropertyAssignment(prop) && ts.isIdentifier(prop.name) && prop.name.text === 'other',
-            ) as ts.PropertyAssignment;
+            const oneProp = returnedObject.properties.find((prop) => ts.isPropertyAssignment(prop) && ts.isIdentifier(prop.name) && prop.name.text === 'one') as ts.PropertyAssignment;
+            const otherProp = returnedObject.properties.find((prop) => ts.isPropertyAssignment(prop) && ts.isIdentifier(prop.name) && prop.name.text === 'other') as ts.PropertyAssignment;
 
             // The targeted leaf is replaced and the sibling leaf is preserved
             expect((oneProp.initializer as ts.StringLiteral).text).toBe('Updated admin');

From 2b7fd527a1131d615eceb6ff15f7a901dcfbd1bb Mon Sep 17 00:00:00 2001
From: "huult (via MelvinBot)" <infra+melvinbot@expensify.com>
Date: Tue, 30 Jun 2026 16:02:11 +0000
Subject: [PATCH 5/5] Revert "Fix generateTranslations injection for pluralized
 arrow-function keys"

This reverts commit 54a5f047043d9302683a99e6b76232ee97a18b07.

Co-authored-by: huult <huult@users.noreply.github.com>
---
 scripts/utils/TSCompilerUtils.ts  | 42 +++++++------------------------
 tests/unit/TSCompilerUtilsTest.ts | 27 --------------------
 2 files changed, 9 insertions(+), 60 deletions(-)

diff --git a/scripts/utils/TSCompilerUtils.ts b/scripts/utils/TSCompilerUtils.ts
index 5d2b41bd28e3..6c2431608da5 100644
--- a/scripts/utils/TSCompilerUtils.ts
+++ b/scripts/utils/TSCompilerUtils.ts
@@ -449,26 +449,15 @@ function injectDeepObjectValue(objectLiteral: ts.ObjectLiteralExpression, dotPat
         }
 
         // Recursively inject into the existing nested structure
-        // Handle direct ObjectLiteralExpression, SatisfiesExpression wrapping an object,
-        // and arrow functions returning an object (e.g. pluralized translations: `() => ({one: '...', other: '...'})`)
+        // Handle both direct ObjectLiteralExpression and SatisfiesExpression wrapping an object
         let nestedObject: ts.ObjectLiteralExpression | undefined;
         let satisfiesType: ts.TypeNode | undefined;
-        let arrowFunction: ts.ArrowFunction | undefined;
-
-        const {initializer} = existingProperty;
-        if (ts.isObjectLiteralExpression(initializer)) {
-            nestedObject = initializer;
-        } else if (ts.isSatisfiesExpression(initializer) && ts.isObjectLiteralExpression(initializer.expression)) {
-            nestedObject = initializer.expression;
-            satisfiesType = initializer.type;
-        } else if (ts.isArrowFunction(initializer)) {
-            // Unwrap the object returned by the arrow function so we can inject into it.
-            // The body is parenthesized in the `() => ({...})` form, but handle a bare object body too.
-            const body = ts.isParenthesizedExpression(initializer.body) ? initializer.body.expression : initializer.body;
-            if (ts.isObjectLiteralExpression(body)) {
-                nestedObject = body;
-                arrowFunction = initializer;
-            }
+
+        if (ts.isObjectLiteralExpression(existingProperty.initializer)) {
+            nestedObject = existingProperty.initializer;
+        } else if (ts.isSatisfiesExpression(existingProperty.initializer) && ts.isObjectLiteralExpression(existingProperty.initializer.expression)) {
+            nestedObject = existingProperty.initializer.expression;
+            satisfiesType = existingProperty.initializer.type;
         }
 
         if (!nestedObject) {
@@ -477,21 +466,8 @@ function injectDeepObjectValue(objectLiteral: ts.ObjectLiteralExpression, dotPat
 
         const updatedNestedObject = injectDeepObjectValue(nestedObject, remainingPath, value);
 
-        // Re-wrap the injected object to match the shape of the original initializer
-        let finalValue: ts.Expression = updatedNestedObject;
-        if (satisfiesType) {
-            finalValue = ts.factory.createSatisfiesExpression(updatedNestedObject, satisfiesType);
-        } else if (arrowFunction) {
-            finalValue = ts.factory.updateArrowFunction(
-                arrowFunction,
-                arrowFunction.modifiers,
-                arrowFunction.typeParameters,
-                arrowFunction.parameters,
-                arrowFunction.type,
-                arrowFunction.equalsGreaterThanToken,
-                ts.factory.createParenthesizedExpression(updatedNestedObject),
-            );
-        }
+        // Re-wrap with satisfies if it was originally wrapped
+        const finalValue = satisfiesType ? ts.factory.createSatisfiesExpression(updatedNestedObject, satisfiesType) : updatedNestedObject;
 
         const updatedProperty = ts.factory.createPropertyAssignment(topLevelKey, finalValue);
         const updatedProperties = objectLiteral.properties.map((prop) => (prop === existingProperty ? updatedProperty : prop));
diff --git a/tests/unit/TSCompilerUtilsTest.ts b/tests/unit/TSCompilerUtilsTest.ts
index 26285ccc646e..e2f70b814905 100644
--- a/tests/unit/TSCompilerUtilsTest.ts
+++ b/tests/unit/TSCompilerUtilsTest.ts
@@ -1072,33 +1072,6 @@ describe('TSCompilerUtils', () => {
             expect((nestedProp.initializer as ts.StringLiteral).text).toBe('test value');
         });
 
-        it('should inject into an object returned by an arrow function (pluralized translations)', () => {
-            // Pluralized translations use the form `key: () => ({one: '...', other: '...'})`
-            const initializer = TSCompilerUtils.parseCodeStringToAST("() => ({one: 'Make admin', other: 'Make admins'})") as ts.ArrowFunction;
-            const existingProperty = ts.factory.createPropertyAssignment('makeGroupAdmin', initializer);
-            const objectLiteral = ts.factory.createObjectLiteralExpression([existingProperty]);
-
-            const newValue = ts.factory.createStringLiteral('Updated admin');
-            const updatedObject = TSCompilerUtils.injectDeepObjectValue(objectLiteral, 'makeGroupAdmin.one', newValue);
-
-            const updatedProperty = updatedObject.properties.at(0) as ts.PropertyAssignment;
-            expect((updatedProperty.name as ts.Identifier).text).toBe('makeGroupAdmin');
-
-            // The arrow function wrapper should be preserved
-            expect(ts.isArrowFunction(updatedProperty.initializer)).toBe(true);
-            const arrowFunction = updatedProperty.initializer as ts.ArrowFunction;
-            const body = ts.isParenthesizedExpression(arrowFunction.body) ? arrowFunction.body.expression : arrowFunction.body;
-            expect(ts.isObjectLiteralExpression(body)).toBe(true);
-
-            const returnedObject = body as ts.ObjectLiteralExpression;
-            const oneProp = returnedObject.properties.find((prop) => ts.isPropertyAssignment(prop) && ts.isIdentifier(prop.name) && prop.name.text === 'one') as ts.PropertyAssignment;
-            const otherProp = returnedObject.properties.find((prop) => ts.isPropertyAssignment(prop) && ts.isIdentifier(prop.name) && prop.name.text === 'other') as ts.PropertyAssignment;
-
-            // The targeted leaf is replaced and the sibling leaf is preserved
-            expect((oneProp.initializer as ts.StringLiteral).text).toBe('Updated admin');
-            expect((otherProp.initializer as ts.StringLiteral).text).toBe('Make admins');
-        });
-
         it('should throw error when trying to inject into non-object property', () => {
             // Start with existing property that's not an object
             const existingProperty = ts.factory.createPropertyAssignment('existing', ts.factory.createStringLiteral('value'));
