Skip to content

Commit 6363420

Browse files
committed
fix prettier
1 parent 00dac71 commit 6363420

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/ui/PureReportActionItemTest.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ import {translateLocal} from '@libs/Localize';
1313
import {getIOUActionForReportID} from '@libs/ReportActionsUtils';
1414
import PureReportActionItem from '@pages/home/report/PureReportActionItem';
1515
import CONST from '@src/CONST';
16+
import type {TranslationPaths} from '@src/languages/types';
1617
import * as ReportActionUtils from '@src/libs/ReportActionsUtils';
1718
import ONYXKEYS from '@src/ONYXKEYS';
1819
import type {ReportAction} from '@src/types/onyx';
1920
import type {OriginalMessage} from '@src/types/onyx/ReportAction';
2021
import type ReportActionName from '@src/types/onyx/ReportActionName';
21-
import type {TranslationPaths} from '@src/languages/types';
2222
import waitForBatchedUpdatesWithAct from '../utils/waitForBatchedUpdatesWithAct';
2323
import wrapOnyxWithWaitForBatchedUpdates from '../utils/wrapOnyxWithWaitForBatchedUpdates';
2424

@@ -136,7 +136,7 @@ describe('PureReportActionItem', () => {
136136
}
137137
const [, textBeforeLink, , linkText] = match;
138138
return {textBeforeLink, linkText};
139-
}
139+
};
140140

141141
it.each(testCases)('$testTitle', async ({actionName, originalMessageExtras, translationKey}) => {
142142
const action = createReportAction(actionName, originalMessageExtras);
@@ -147,7 +147,7 @@ describe('PureReportActionItem', () => {
147147

148148
const parsedText = parseTextWithTrailingLink(translateLocal(translationKey as TranslationPaths));
149149
if (!parsedText) {
150-
throw new Error("Text cannot be parsed, translation failed");
150+
throw new Error('Text cannot be parsed, translation failed');
151151
}
152152

153153
const {textBeforeLink, linkText} = parsedText;

tests/unit/OptionsListUtilsTest.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ type PersonalDetailsList = Record<string, PersonalDetails & OptionData>;
6464

6565
const renderLocaleContextProvider = () => {
6666
// @ts-expect-error TS2741: Property 'children' is missing
67-
render(<ComposeProviders components={[OnyxListItemProvider, LocaleContextProvider]}/>);
67+
render(<ComposeProviders components={[OnyxListItemProvider, LocaleContextProvider]} />);
6868
};
6969

7070
describe('OptionsListUtils', () => {

0 commit comments

Comments
 (0)