From b9290635b5a7fba23110cf28cfc0c9fc8a2d6939 Mon Sep 17 00:00:00 2001 From: xihuwenhua Date: Sun, 20 Jul 2025 11:59:00 +0800 Subject: [PATCH] chore: remove redundant words in comment Signed-off-by: xihuwenhua --- .../CreateCollectionSelectorModal.spec.tsx | 2 +- .../WorldPermissionsAddUserFrom.spec.tsx | 2 +- src/modules/item/sagas.spec.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Modals/CreateCollectionSelectorModal/CreateCollectionSelectorModal.spec.tsx b/src/components/Modals/CreateCollectionSelectorModal/CreateCollectionSelectorModal.spec.tsx index 09380c4f9..39131f2a0 100644 --- a/src/components/Modals/CreateCollectionSelectorModal/CreateCollectionSelectorModal.spec.tsx +++ b/src/components/Modals/CreateCollectionSelectorModal/CreateCollectionSelectorModal.spec.tsx @@ -38,7 +38,7 @@ describe('when clicking on the create collection button', () => { userEvent.click(createButton) }) - it('should call the the onCreateCollection prop method', () => { + it('should call the onCreateCollection prop method', () => { expect(onCreateCollection).toHaveBeenCalled() }) }) diff --git a/src/components/Modals/WorldPermissionsModal/ModelTabs/Layouts/WorldPermissionsAddUserForm/WorldPermissionsAddUserFrom.spec.tsx b/src/components/Modals/WorldPermissionsModal/ModelTabs/Layouts/WorldPermissionsAddUserForm/WorldPermissionsAddUserFrom.spec.tsx index 96992d017..8f0ebf2e8 100644 --- a/src/components/Modals/WorldPermissionsModal/ModelTabs/Layouts/WorldPermissionsAddUserForm/WorldPermissionsAddUserFrom.spec.tsx +++ b/src/components/Modals/WorldPermissionsModal/ModelTabs/Layouts/WorldPermissionsAddUserForm/WorldPermissionsAddUserFrom.spec.tsx @@ -96,7 +96,7 @@ describe('when rendering the Worlds Permissions Add User Form', () => { renderedComponent = renderWorldPermissionsAddUserForm({ showAddUserForm, error }) }) - it('should render the the button as disabled', () => { + it('should render the button as disabled', () => { const { getByTestId } = renderedComponent const changePermissionButton = getByTestId(WORLD_PERMISSIONS_ADD_USER_FORM_CHANGE_PERMISSION_BUTTON_DATA_TEST_ID) diff --git a/src/modules/item/sagas.spec.ts b/src/modules/item/sagas.spec.ts index b83f8dc95..e7d09623e 100644 --- a/src/modules/item/sagas.spec.ts +++ b/src/modules/item/sagas.spec.ts @@ -1949,7 +1949,7 @@ describe('when handling the setItemCollection action', () => { }) describe("and the item's collections fails to be updated", () => { - it('should not not the toast message nor close the modal nor close the modal', () => { + it('should not the toast message nor close the modal nor close the modal', () => { return expectSaga(itemSaga, builderAPI, builderClient, tradeService) .provide([ [select(getOpenModals), { MoveItemToAnotherCollectionModal: true }],