Skip to content

Commit 1a6b1f9

Browse files
Apply suggestions from code review
Co-authored-by: Alex Beaman <dabeamanator@gmail.com>
1 parent 30ea24e commit 1a6b1f9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/ui/PureReportActionItemTest.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ describe('PureReportActionItem', () => {
110110
expect(screen.getByText(translateLocal('iou.automaticallyApproved'))).toBeOnTheScreen();
111111
});
112112

113-
it('Automatic FORWARDED action', async () => {
113+
it('FORWARDED action via workspace rules', async () => {
114114
const action = createReportAction(CONST.REPORT.ACTIONS.TYPE.FORWARDED, {automaticAction: true});
115115
renderItemWithAction(action);
116116
await waitForBatchedUpdatesWithAct();
@@ -139,7 +139,7 @@ describe('PureReportActionItem', () => {
139139
});
140140

141141
describe('Manual actions', () => {
142-
it('Manually APPROVED action', async () => {
142+
it('APPROVED action', async () => {
143143
const action = createReportAction(CONST.REPORT.ACTIONS.TYPE.APPROVED, {automaticAction: false});
144144
renderItemWithAction(action);
145145
await waitForBatchedUpdatesWithAct();
@@ -148,7 +148,7 @@ describe('PureReportActionItem', () => {
148148
expect(screen.getByText(translateLocal('iou.approvedMessage'))).toBeOnTheScreen();
149149
});
150150

151-
it('Manually FORWARDED action', async () => {
151+
it('FORWARDED action', async () => {
152152
const action = createReportAction(CONST.REPORT.ACTIONS.TYPE.FORWARDED, {automaticAction: false});
153153
renderItemWithAction(action);
154154
await waitForBatchedUpdatesWithAct();
@@ -166,7 +166,7 @@ describe('PureReportActionItem', () => {
166166
expect(screen.getByText(translateLocal('iou.submitted'))).toBeOnTheScreen();
167167
});
168168

169-
it('Instant SUBMITTED_AND_CLOSED action', async () => {
169+
it('SUBMITTED_AND_CLOSED action', async () => {
170170
const action = createReportAction(CONST.REPORT.ACTIONS.TYPE.SUBMITTED_AND_CLOSED, {harvesting: false});
171171
renderItemWithAction(action);
172172
await waitForBatchedUpdatesWithAct();

0 commit comments

Comments
 (0)