Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test: migrate file expanded_story_controls_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_release_date_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_estimate_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_history_location_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_notes_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_owned_by_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_requested_by_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_section_spec.jsx from enzyme to react-testing-library * test: migrate file expanded_story_state_spec.jsx from enzyme to react-testing-library * test: migrate file expanded_story_task_spec.jsx from enzyme to react-testing-library * test: migrate file expanded_story_title_spec.jsx from enzyme to react-testing-library * test: migrate file expanded_story_tooltip_spec.jsx from enzyme to react-testing-library * test: migrate file expanded_story_type_spec.jsx from enzyme to react-testing-library * test: migrate file expanded_story_spec.jsx from enzyme to react-testing-library * test: user proper I18n mocking in expanded_story_default_spec.js * test: migrate file expanded_story_labels_spec.jsx from enzyme to react-testing-library * chore: remove unused TODO comment * chore: remove screen.debug() * refactor: optmize the use of context variables in expanded_story_notes_spec.js * chore: remove console.log() in expanded_story_spec.js * chore: swap test titles to avoid confusion in expanded_story_state_spec.js * test: migrate file note_spec.js from enzyme to react-testing-library * test: migrate file notes_list_spec.js from enzyme to react-testing-library * test: migrate file select_user_spec.js from enzyme to react-testing-library * test: migrate file task_list_spec.js from enzyme to react-testing-library * test: migrate file task_spec.js from enzyme to react-testing-library * test: migrate file story_description_icon_spec.js from enzyme to react-testing-library * test: migrate file story_description_spec.js from enzyme to react-testing-library * test: migrate file story_icon_spec.js from enzyme to react-testing-library * test: migrate file story_item_spec.js from enzyme to react-testing-library * test: migrate file story_popover_spec.js from enzyme to react-testing-library * test: migrate file story_tasks_spec.js from enzyme to react-testing-library * test: migrate file task_spec.js from jest to vitest * test: migrate file story_spec.js from jest to vitest * test: migrate file note_spec.js from jest to vitest * test: migrate file iteration_spec.js from jest to vitest * test: migrate file project_spec.js from jest to vitest * test: migrate file project_spec.js describe 'changesets' it 'should load changesets when last_changset_id is changed' from sinon.fakeServer to msw * test: migrate describe 'changesets' it 'should only reload a story once if present in multiple changesets' from sinon.fakeServer to msw * test: migrate project_spec.js from sinon.fakeServer to msw describe 'changesets' it 'should load new stories from changesets' * test: migrate project_velocity_view_spec.js from jest to vitest * test: migrate markdown_spec.js from jest to vitest and enyzme to react-testing-library * test: migrate story_view_spec.js from jest to vitest * test: fix unhandled request file story_view_spec.js * test: adjust vitest syntax file column_view_spec.js * refactor: remove warning adding ref droppable react-beatiful-dnd component * refactor: remove warning passing prop index for droppable react-beatiful-dnd component * refactor: remove unecessary key prop component * refactor: remove debug addition file story_item_spec.js * chore: change childProps StoryItem component to drill 'releasedDate' attribute for the children as string as type declared * refactor: add props for not logging warning and reduce rendering job on file sprint_spec.js * refactor: add correct changes props for HistoryItem component on file history_item_spec.js * refacor: add props labels on redux initial state for removing unecessary logs file search_spec.js * refactor: add labels on redux initial state and isDropDisabled props for Sprints component on file sprints_spec.js * refactor: add onSave and disabled props for component ExpandedStoryTask on file expanded_story_task_spec.js * refactor: change ExpandedStoryHistoryLocation prop showHistory as optional since it does not have to use showHistory everytime it renders * refactor: add id attribute on notes for ExpandedStoryNotes component on file expanded_story_notes_spec.js for not logging warnings * refactor: remove unecessary props on tests file expanded_story_state_spec.js to not log warnings * refactor: add project.id redux state to supply StorySearch component with correct data * chore: add msw a fake server request handling for put http method to not log warnings on the console * fix: rebase conflcits * Revert "fix: rebase conflcits" This reverts commit 58fbdfd. * feat: start set up vitest and remove jest * chore: readd jest packages and add vitest setupFiles and environment * refactor: replace jest functions to vi, remove unused import modules setup test file * refactor: remove unused packages * test: replace sinon to vitest functionalities * test: replace jest-sinon to vi functionallities project_spec.js and iteration_spec.js files * test: replace jest-sinon to vitest functionalities on the file iteration_spec.js * test: replace sinon to vitest functionalities on the file story_collection_spec.js * test: replace sinon to vitest functionalities on the file task_spec.js * test: replace sinon to vitest functionalities on the file story_spec.js * test: replace sinon to vitest functionalities on the file projectBoard_spec.js * test: replace sinon to vitest functionalities on the file pastIterations_spec.js * test: replace sinon to vitest functionalities on the file notifications_spec.js * test: replace sinon to vitest functionalities on the file note_spec.js * test: replace sinon to vitest functionalities on the file history_spec.js * test: fix JSX syntax issue on test files adding PrecompileEjs plugin on the vite.base.config.ts * test: replace sinon methods to vitest and start applying msw server to replace sinon.fakeServer functionality * fix: http status handlers msw * fix: view async action, add a promise to wait for result before continue * fix: view tests on the file story_view_spec.js * test: finish replace all sinon functions to vitest * test: start POC replacing enzyme functionallity to react-testing-library * test: finish POC replacing enzyme to react-testing-library * test: fix msw requests * test: remove last sinon functionality implementation model story_spec.js * test: replace .tick to .advanceTimersByTime using vitest fn notifications_spec.js action * test: remove unexpected variable value attribuition * test: adjust test assertion - always call callback.onToggle * test: adjust test assertion - calls callback.onToggle * test: update assertion to callback.onToggle not haveBeenCalled * test: update test date, it was set up year 2018. Fixed adding current date returning 7 days ago * test: remove .only from test file * test: adjust time to be dinamic to the current date * test: adjust object comparasion on the if statement * test: migrate file column_item_spec.js from enzyme to react-testing-library * test: migrated from enzyme to react-testing-library on column_spec.js * test: fix test trouble when some component return undefined value, declared '|| null' statement to columns_spec.js and remove unnecessary mock * test: migrate file checkbox_spec.js from enzyme to react-testing-library * test: migrate file note_form_spec.js from enzyme to react-testing-library * test: migrate file message_spec.js from enzyme to react-testing-library * test: migrate file notifications_spec.js from enzyme to react-testing-library * test: migrate file side_bar_button_info_spec.js from enzyme to react-testing-library * test: migrate file side_bar_button_spec.js from enzyme to react-testing-library * test: migrate file side_bar_spec.js from enzyme to react-testing-library * test: add redux setup for testing * test: start replacement enzyme to react-testing-library project_board_spec.js * test: fix 'does not renders <ProjectLoading />' adding parameter chillyBinStories to the component * test: migrate file project_board_spec.js test 'renders <Sidebar />' from enzyme to react-testing-library * test: migrate file project_board_spec.js test 'renders <Notifications />' from enzyme to react-testing-library * test: migrate file project_board_spec.js test 'renders <Columns />' from enzyme to react-testing-library * test: migrate file project_board_spec.js describe 'when history status is LOADING' from enzyme to react-testing-library * test: migrate file project_board_spec.js describe 'when history status is LOADED' from enzyme to react-testing-library * test: migrate file project_board_spec.js describe 'when history status is DISABLED' from enzyme to react-testing-library * test: migrate file project_board_spec.js describe 'when there are epicStories' and 'when epicStories is empty' from enzyme to react-testing-library * refactor: english adjustment * test: migrate file project_card_spec.js describe 'should contain the project name' and '.icons' from enzyme to react-testing-library * test: migrate file project_card_spec.js describe '#panelHeading' from enzyme to react-testing-library * test: migrate file project_card_spec.js describe 'joined' from enzyme to react-testing-library * test: migrate file project_card_spec.js describe 'unjoined' from enzyme to react-testing-library * test: adjust 'does not have the dag' replacing the tag_name value to null * test: migrate file project_list_spec.js describe 'with projects' from enzyme to react-testing-library * test: fix usage waitFor react-testing-library file side_bar_button_spec.js * refactor: remove unnecessary waitFor import where it's unused * refactor: remove unnecessary waitFor file project_card_spec.js * test: finish migrate file project_list_spec.js from enzyme to react-testing-library * test: migrate file project_search_spec.js from enzyme to react-testing-library * test: start migrate file search_results_spec.js from enzyme to react-testing-library * test: wrap <SearchResults/> component with <DragDropContext /> to fix provider trouble * test: modify setupRedux to be able receiving initial values state store * test: add initial values redux store * test: migrate file collapsed_story_actions_spec.js from enzyme to react-testing-library * test: migrate file collapsed_story_estimate_button_spec.js from enzyme to react-testing-library * test: migrate file collapsed_story_estimate_spec.js from enzyme to react-testing-library * test: migrate file collapsed_story_focus_button_spec.js from enzyme to react-testing-library * test: migrate file collapsed_story_labels_spec.js from enzyme to react-testing-library * test: migrate file collapsed_story_spec.js from enzyme to react-testing-library * test: migrate file collapsed_story_state_button_spec.js from enzyme to react-testing-library * test: migrate file collapsed_story_title_spec.js from enzyme to react-testing-library * test: pass props down to the inner components in collapsed_story_actions_spec.js and remove mocked children * test: pass props down to the inner components in collapsed_story_spec.js and remove mocked children * test: remove unnecessary mock in collapsed_story_state_button_spec.js * test: use correct test titles in collapsed_story_actions_spec.js * test: test the correct selector when state is accepted in collapsed_story_actions_spec.js * test: migrate file search_results_spec.js from enzyme to react-testing-library * test: migrate file search_spec.js describe 'when have not stories' from enzyme to react-testing-library * test: migrate file search_spec.js describe 'when have stories' from enzyme to react-testing-library * test: migrate file search_tooltip_spec.js from enzyme to react-testing-library * test: migrate file story_search_spec.js from enzyme to react-testing-library * test: migrate file task_form_spec.js from enzyme to react-testing-library * test: migrate file task_spec.js from enzyme to react-testing-library * test: migrate file history_change_spec.js from enzyme to react-testing-library * test: migrate file history_header_spec.js from enzyme to react-testing-library * test: migrate file history_item_spec.js from enzyme to react-testing-library * test: migrate file history_spec.js from enzyme to react-testing-library * test: migrate file sprint_header_spec.js from enzyme to react-testing-library * test: migrate file sprint_spec.js from enzyme to react-testing-library * test: migrate file sprints_spec.js from enzyme to react-testing-library * test: migrate file story_link_spec.js from enzyme to react-testing-library * test: use renderWithProviders in collapsed_story_actions_spec.js * test: use renderWithProviders in collapsed_story_spec.js * test: migrate file expanded_story_default_spec.js from enzyme to react-testing-library * test: migrate file expanded_expanded_story_description_content_area_spec.js from enzyme to react-testing-library * test: migrate file expanded_expanded_story_description_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_controls_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_release_date_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_estimate_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_history_location_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_notes_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_owned_by_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_requested_by_spec.js from enzyme to react-testing-library * test: migrate file expanded_story_section_spec.jsx from enzyme to react-testing-library * test: migrate file expanded_story_state_spec.jsx from enzyme to react-testing-library * test: migrate file expanded_story_task_spec.jsx from enzyme to react-testing-library * test: migrate file expanded_story_title_spec.jsx from enzyme to react-testing-library * test: migrate file expanded_story_tooltip_spec.jsx from enzyme to react-testing-library * test: migrate file expanded_story_type_spec.jsx from enzyme to react-testing-library * test: migrate file expanded_story_spec.jsx from enzyme to react-testing-library * test: user proper I18n mocking in expanded_story_default_spec.js * test: migrate file expanded_story_labels_spec.jsx from enzyme to react-testing-library * chore: remove unused TODO comment * chore: remove screen.debug() * refactor: optmize the use of context variables in expanded_story_notes_spec.js * chore: remove console.log() in expanded_story_spec.js * chore: swap test titles to avoid confusion in expanded_story_state_spec.js * test: migrate file note_spec.js from enzyme to react-testing-library * test: migrate file notes_list_spec.js from enzyme to react-testing-library * test: migrate file select_user_spec.js from enzyme to react-testing-library * test: migrate file task_list_spec.js from enzyme to react-testing-library * test: migrate file task_spec.js from enzyme to react-testing-library * test: migrate file story_description_icon_spec.js from enzyme to react-testing-library * test: migrate file story_description_spec.js from enzyme to react-testing-library * test: migrate file story_icon_spec.js from enzyme to react-testing-library * test: migrate file story_item_spec.js from enzyme to react-testing-library * test: migrate file story_popover_spec.js from enzyme to react-testing-library * test: migrate file story_tasks_spec.js from enzyme to react-testing-library * test: migrate file task_spec.js from jest to vitest * test: migrate file story_spec.js from jest to vitest * test: migrate file note_spec.js from jest to vitest * test: migrate file iteration_spec.js from jest to vitest * test: migrate file project_spec.js from jest to vitest * test: migrate file project_spec.js describe 'changesets' it 'should load changesets when last_changset_id is changed' from sinon.fakeServer to msw * test: migrate describe 'changesets' it 'should only reload a story once if present in multiple changesets' from sinon.fakeServer to msw * test: migrate project_spec.js from sinon.fakeServer to msw describe 'changesets' it 'should load new stories from changesets' * test: migrate project_velocity_view_spec.js from jest to vitest * test: migrate markdown_spec.js from jest to vitest and enyzme to react-testing-library * test: migrate story_view_spec.js from jest to vitest * test: fix unhandled request file story_view_spec.js * test: adjust vitest syntax file column_view_spec.js * refactor: remove warning adding ref droppable react-beatiful-dnd component * refactor: remove warning passing prop index for droppable react-beatiful-dnd component * refactor: remove unecessary key prop component * refactor: remove debug addition file story_item_spec.js * chore: change childProps StoryItem component to drill 'releasedDate' attribute for the children as string as type declared * refactor: add props for not logging warning and reduce rendering job on file sprint_spec.js * refactor: add correct changes props for HistoryItem component on file history_item_spec.js * refacor: add props labels on redux initial state for removing unecessary logs file search_spec.js * refactor: add labels on redux initial state and isDropDisabled props for Sprints component on file sprints_spec.js * refactor: add onSave and disabled props for component ExpandedStoryTask on file expanded_story_task_spec.js * refactor: change ExpandedStoryHistoryLocation prop showHistory as optional since it does not have to use showHistory everytime it renders * refactor: add id attribute on notes for ExpandedStoryNotes component on file expanded_story_notes_spec.js for not logging warnings * refactor: remove unecessary props on tests file expanded_story_state_spec.js to not log warnings * refactor: add project.id redux state to supply StorySearch component with correct data * chore: add msw a fake server request handling for put http method to not log warnings on the console * fix: rebase conflcits * Revert "fix: rebase conflcits" This reverts commit 58fbdfd. * build: remove enzyme enzyme-adapter-react-16 and sinon from dependencies and replace last sinon.fakeServer for msw * test: follow mike request - replace data-testid ColumnItem.jsx and its tests to querySelector by classes * test: follow mike request - replace data-testid='message-close-button' but kept data-testid='message-container' on file Message.jsx * test: follow mike request - replace data-testid='add-note-button' for querySelector by classes on file NoteForm.jsx * test: follow mike request - replace data-testid for querySelector by classes on files SideBarButtonInfo.jsx and SideBarButton.jsx * test: follow mike request - replace data-testid for querySelector by classes on file ProjectBoard.jsx * test: follow mike request - replace data-testid='project-card-tag' for querySelector by classes on file ProjectCard.jsx * test: follow mike request - replace data-testid='dropdown-menu-container' for querySelector by classes on file ProjeCard.jsx * test: follow mike request - replace data-testid='user-avatar' for querySelector by classes on file ProjeCard.jsx * test: follow mike request - replace data-testid for querySelector by classes on file Search.jsx * test: follow mike request - replace data-testid for querySelector by classes on file StoryPopover.jsx * refactor: remove unused imported function on file notifications_spec.js * refactor: remove unused imported function on file project_board_spec.js * test: follow mike request - replace all byTestId for querySelector by class on project_board_spec.js file * refactor: remove unused imported component on file project_list_spec.js * refactor: remove unused imported component and functions on file project_search_spec.js * refactor: remove unused imported component and functions on file task_spec.js * refactor: remove unused imported function on file task_form_spec.js * test: follow mike request - replace data-testid for querySelector by class on story_search_spec.js file * refactor: remove unused debug function file story_search_spec.js * refactor: remove unecessary spread props History/index.jsx file * refactor: remove unecessary spread props files Notifications/index.jsx and Sidebar/index.jsx --------- Co-authored-by: Mike Valeriano <[email protected]> Co-authored-by: William Spada <[email protected]>
- Loading branch information