Skip to content

Commit d2b013f

Browse files
committed
Remove bad test
1 parent 365d037 commit d2b013f

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

tests/unit/ReportUtilsTest.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,23 +1234,6 @@ describe('ReportUtils', () => {
12341234
expect(shouldDisableThread(reportAction, reportID, false)).toBeTruthy();
12351235
});
12361236

1237-
it('should disable on archived reports and not-thread actions', () => {
1238-
return Onyx.merge(`${ONYXKEYS.COLLECTION.REPORT}${reportID}`, {
1239-
statusNum: CONST.REPORT.STATUS_NUM.CLOSED,
1240-
stateNum: CONST.REPORT.STATE_NUM.APPROVED,
1241-
})
1242-
.then(() => waitForBatchedUpdates())
1243-
.then(() => {
1244-
const reportAction = {
1245-
childVisibleActionCount: 1,
1246-
} as ReportAction;
1247-
expect(shouldDisableThread(reportAction, reportID, false, false)).toBeFalsy();
1248-
1249-
reportAction.childVisibleActionCount = 0;
1250-
expect(shouldDisableThread(reportAction, reportID, false, false)).toBeTruthy();
1251-
});
1252-
});
1253-
12541237
it("should disable on a whisper action and it's neither a report preview nor IOU action", () => {
12551238
const reportAction = {
12561239
actionName: CONST.REPORT.ACTIONS.TYPE.MODIFIED_EXPENSE,

0 commit comments

Comments
 (0)