Skip to content

Commit d363437

Browse files
Fix spellcheck: reword "assertable" in test comments
cspell flagged the unknown word "assertable" in two comments. Reword to "can be asserted" so the Spell check job passes; reads more naturally and avoids polluting the global cspell dictionary with a niche word. Co-authored-by: Tyler Karaszewski <tylerkaraszewski@users.noreply.github.com>
1 parent 29c8fb9 commit d363437

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/actions/IOU/MoneyRequestTest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jest.mock('@src/libs/Navigation/Navigation', () => ({
5353
goBack: jest.fn(),
5454
}));
5555

56-
// Pass-through spy so behavior is unchanged but the call args (incl. currentUserAccountID) are assertable.
56+
// Pass-through spy so behavior is unchanged but the call args (incl. currentUserAccountID) can be asserted.
5757
jest.mock('@libs/shouldUseDefaultExpensePolicy', () => {
5858
const actual = jest.requireActual<{default: typeof shouldUseDefaultExpensePolicy}>('@libs/shouldUseDefaultExpensePolicy');
5959
return {
@@ -66,7 +66,7 @@ jest.mock('@libs/getCurrentPosition');
6666

6767
// Fire executeWrite synchronously so downstream writes can be asserted.
6868
jest.mock('@libs/Navigation/helpers/submitWithDismissFirst', () => jest.requireActual<typeof SubmitWithDismissFirstMock>('../../__mocks__/submitWithDismissFirst'));
69-
// Cleanup helpers are spies so the move-from-track cleanup-id contract is assertable.
69+
// Cleanup helpers are spies so the move-from-track cleanup-id contract can be asserted.
7070
const mockCleanupAndNavigateAfterExpenseCreate = jest.fn();
7171
const mockCleanupAfterExpenseCreate = jest.fn();
7272
jest.mock('@libs/Navigation/helpers/cleanupAndNavigateAfterExpenseCreate', () => ({

0 commit comments

Comments
 (0)