Skip to content

Commit d562881

Browse files
committed
remove unnecessary delegate onyx setup in test
1 parent 3d9be83 commit d562881

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

tests/unit/SidebarUtilsTest.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,6 @@ describe('SidebarUtils', () => {
580580
const expenseChatID = generateReportID();
581581
const expenseReportID = generateReportID();
582582
const holdReportActionID = generateReportID();
583-
const delegateEmail = 'copilot@example.com';
584583

585584
const policyExpenseChat: Report = {
586585
reportID: expenseChatID,
@@ -635,13 +634,6 @@ describe('SidebarUtils', () => {
635634
await Onyx.multiSet({
636635
[ONYXKEYS.SESSION]: {
637636
accountID: 12345,
638-
email: delegateEmail,
639-
},
640-
[ONYXKEYS.ACCOUNT]: {
641-
delegatedAccess: {
642-
delegate: delegateEmail,
643-
delegates: [{email: delegateEmail, role: CONST.DELEGATE_ROLE.ALL}],
644-
},
645637
},
646638
[`${ONYXKEYS.COLLECTION.REPORT}${policyExpenseChat.reportID}`]: policyExpenseChat,
647639
[`${ONYXKEYS.COLLECTION.REPORT}${expenseReport.reportID}`]: expenseReport,

0 commit comments

Comments
 (0)