author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
288,288 | 16.12.2020 17:31:19 | -3,600 | 4c4a53925d391bd5c3c7a7fe0e9603836d15f805 | test(hospital-run): convert to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/HospitalRun.test.tsx",
"new_path": "src/__tests__/HospitalRun.test.tsx",
"diff": "-import { Toaster } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzyme'\n-import React from 'react'\n-import { act } from 'react-dom/test-... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(hospital-run): convert to RTL |
288,272 | 16.12.2020 22:10:53 | -7,200 | a237167964352a9da570fc151c973431be15cb80 | Converts Imagings.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/imagings/Imagings.test.tsx",
"new_path": "src/__tests__/imagings/Imagings.test.tsx",
"diff": "-import { mount, ReactWrapper } from 'enzyme'\n+import { render } from '@testing-library/react'\nimport React from 'react'\nimport { Provider } from 're... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Converts Imagings.test.tsx to RTL |
288,239 | 17.12.2020 07:58:03 | -39,600 | 316e6777c23e13d3d633cdae858bef5e26ba7a2e | test(hospital-run): settings/Settings.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/settings/Settings.test.tsx",
"new_path": "src/__tests__/settings/Settings.test.tsx",
"diff": "-import { mount } from 'enzyme'\n+import { render } from '@testing-library/react'\nimport { createMemoryHistory } from 'history'\nimport React from 'rea... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(hospital-run): settings/Settings.test.tsx to RTL |
288,416 | 17.12.2020 09:00:13 | -19,080 | 85d7f5fc296290757162ee8fbdaf964721b4c9fc | Convert Allergies.test.tsx to RTL
closes | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@commitlint/config-conventional\": \"~11.0.0\",\n\"@commitlint/core\": \"~11.0.0\",\n\"@commitlint/prompt\": \"~11.0.0\",\n+ \"@testing-library/dom\": \"~7.29.0\",\n\"@testing-library/jest-dom\": \"~5.11.6\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Convert Allergies.test.tsx to RTL
closes #22 |
288,416 | 17.12.2020 09:24:57 | -19,080 | 6ff916227717edede089a7d132e9d0bd3f308fcc | Remove redundant \'act\' around userEvent | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/allergies/AllergiesList.test.tsx",
"new_path": "src/__tests__/patients/allergies/AllergiesList.test.tsx",
"diff": "@@ -44,9 +44,7 @@ describe('Allergies list', () => {\nconst expectedAllergies = [{ id: '456', name: 'some name' }]\nconst ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Remove redundant \'act\' around userEvent |
288,298 | 16.12.2020 22:36:44 | 21,600 | ef69fb502f302b8577704bcef677d395d22912cc | Nav Conversion
userevent
prop drilling replaced with user behavior | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@commitlint/config-conventional\": \"~11.0.0\",\n\"@commitlint/core\": \"~11.0.0\",\n\"@commitlint/prompt\": \"~11.0.0\",\n+ \"@testing-library/dom\": \"~7.29.0\",\n\"@testing-library/jest-dom\": \"~5.11.6\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Nav Conversion
- userevent
- prop drilling replaced with user behavior |
288,298 | 16.12.2020 22:38:09 | 21,600 | ab0ea65fd7e0a2097bee0a1c41984eb5a01433de | Removed Redundant Dom TL package | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@commitlint/config-conventional\": \"~11.0.0\",\n\"@commitlint/core\": \"~11.0.0\",\n\"@commitlint/prompt\": \"~11.0.0\",\n- \"@testing-library/dom\": \"~7.29.0\",\n\"@testing-library/jest-dom\": \"~5.11.6\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Removed Redundant Dom TL package |
288,298 | 16.12.2020 23:35:35 | 21,600 | 449b132ae29f1157ca3bf96cd9c80660b1509780 | Nav Conversion complete | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/navbar/Navbar.test.tsx",
"new_path": "src/__tests__/shared/components/navbar/Navbar.test.tsx",
"diff": "-import { Navbar as HospitalRunNavbar } from '@hospitalrun/components'\nimport { render, screen } from '@testing-library/rea... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Nav Conversion complete |
288,374 | 17.12.2020 22:35:23 | -39,600 | da7d0b311c402e124e90b972f308044132d16d6a | test(hospital-run): convert TextFieldWithLabelFormGroup.test.tsx to RTL
Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/input/TextFieldWithLabelFormGroup.test.tsx",
"new_path": "src/__tests__/shared/components/input/TextFieldWithLabelFormGroup.test.tsx",
"diff": "-import { Label, TextField } from '@hospitalrun/components'\n-import { shallow } fro... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(hospital-run): convert TextFieldWithLabelFormGroup.test.tsx to RTL
Fixes #28 |
288,306 | 17.12.2020 19:10:09 | -7,200 | 1d53afd06b9d33e0f913cf734f4e40fbc95aee24 | Convert labs/labs.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/Labs.test.tsx",
"new_path": "src/__tests__/labs/Labs.test.tsx",
"diff": "-import { act } from '@testing-library/react'\n-import { mount, ReactWrapper } from 'enzyme'\n+import { render, screen } from '@testing-library/react'\nimport React fro... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Convert labs/labs.test.tsx to RTL |
288,288 | 17.12.2020 22:21:53 | -3,600 | 0d6819448ff1a6d0b130c857bdb68e07573cec75 | test(siderbar): convert to RTL | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@commitlint/config-conventional\": \"~11.0.0\",\n\"@commitlint/core\": \"~11.0.0\",\n\"@commitlint/prompt\": \"~11.0.0\",\n+ \"@testing-library/dom\": \"~7.29.0\",\n\"@testing-library/jest-dom\": \"~5.11.6\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(siderbar): convert to RTL |
288,239 | 18.12.2020 08:40:51 | -39,600 | e8c8d9902f760ea1a24dff33bc2e66abdcb6cddc | chore(deps): Make tests use jsdom-sixteen | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"history\": \"4.10.1\",\n\"husky\": \"~4.3.0\",\n\"jest-canvas-mock\": \"~2.3.0\",\n+ \"jest-environment-jsdom-sixteen\": \"~1.0.3\",\n\"lint-staged\": \"~10.5.0\",\n\"memdown\": \"~5.1.0\",\n\"prettier\": \... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | chore(deps): Make tests use jsdom-sixteen |
288,239 | 18.12.2020 08:41:56 | -39,600 | d4361d857c0023aa9a776cb17221a9cbf432fb59 | test(hospital-run): Convert scheduling/appointments/edit/EditAppointment.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/edit/EditAppointment.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/edit/EditAppointment.test.tsx",
"diff": "import { Button } from '@hospitalrun/components'\n+import { render, waitFor, screen } from '@testi... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(hospital-run): Convert scheduling/appointments/edit/EditAppointment.test.tsx to RTL |
288,306 | 18.12.2020 05:28:31 | -7,200 | bb2d79b182d24e3fbe60f461f518b019f4cdfbcb | start converting viewlab to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/ViewLab.test.tsx",
"new_path": "src/__tests__/labs/ViewLab.test.tsx",
"diff": "-import { Badge, Button, Alert } from '@hospitalrun/components'\n-import { act } from '@testing-library/react'\n+import { Badge, Button } from '@hospitalrun/compo... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | start converting viewlab to RTL |
288,306 | 18.12.2020 05:32:37 | -7,200 | a82ccc80e7df4da724b828a6b2394da2112de7a3 | add id to TextField | [
{
"change_type": "MODIFY",
"old_path": "src/shared/components/input/TextFieldWithLabelFormGroup.tsx",
"new_path": "src/shared/components/input/TextFieldWithLabelFormGroup.tsx",
"diff": "@@ -19,6 +19,7 @@ const TextFieldWithLabelFormGroup = (props: Props) => {\n<div className=\"form-group\">\n{label ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | add id to TextField |
288,257 | 19.12.2020 03:46:28 | -46,800 | 83c79cf8ac5606c14d7159075cb6f122d0e6630d | test(sidebar.test.tsx): appointments and labs tests changed to use RTL
continuation of work started for pull request rewriting tests using RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/Sidebar.test.tsx",
"new_path": "src/__tests__/shared/components/Sidebar.test.tsx",
"diff": "@@ -173,117 +173,76 @@ describe('Sidebar', () => {\n})\n})\n- /* describe('appointments link', () => {\n+ describe('appointments link', ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(sidebar.test.tsx): appointments and labs tests changed to use RTL
continuation of work started for pull request #34 rewriting tests using RTL |
288,257 | 19.12.2020 04:39:01 | -46,800 | 49928ef33d369b33d5c933cee197d03bc2707962 | test(sidebar.test.tsx): update incidents tests to use RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/Sidebar.test.tsx",
"new_path": "src/__tests__/shared/components/Sidebar.test.tsx",
"diff": "@@ -321,18 +321,21 @@ describe('Sidebar', () => {\nexpect(history.location.pathname).toEqual('/labs')\n})\n})\n- /*\n+\ndescribe('incide... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(sidebar.test.tsx): update incidents tests to use RTL |
288,402 | 18.12.2020 14:52:26 | 18,000 | 5beb64518473105f7274a200530cac9955d01a3a | fix(fix jest test): fix jest test
fix test to alleviate failed test | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/edit/EditAppointment.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/edit/EditAppointment.test.tsx",
"diff": "@@ -108,7 +108,7 @@ describe('Edit Appointment', () => {\nconst saveButton = wrapper.find(Button).... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(fix jest test): fix jest test
fix test to alleviate failed test |
288,257 | 19.12.2020 14:48:34 | -46,800 | 48c69e1960c253f8d40dd9f1584465491d701958 | test(sidebar.test.tsx): update imagings tests to use RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/Sidebar.test.tsx",
"new_path": "src/__tests__/shared/components/Sidebar.test.tsx",
"diff": "@@ -336,8 +336,9 @@ describe('Sidebar', () => {\n})\nit.skip('should be the last one in the sidebar', () => {\n- const wrapper = setup('... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(sidebar.test.tsx): update imagings tests to use RTL |
288,239 | 19.12.2020 12:50:20 | -39,600 | 99eebca80b18fb00249c38c540e7c02c6f6dc015 | fix: CI doesn't use jsdom-16 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"update\": \"npx npm-check -u\",\n\"prepublishOnly\": \"npm run build\",\n\"test\": \"npm run translation:check && react-scripts test --testPathIgnorePatterns=src/__tests__/test-utils --detectOpenHandles --e... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix: CI doesn't use jsdom-16 |
288,403 | 18.12.2020 22:50:44 | 18,000 | 56e911684bf8b1af4c77f37b6b8e2d9de4b7e250 | perf: update import statements for date-fns to be more specific | [
{
"change_type": "MODIFY",
"old_path": "src/incidents/util/validate-incident.ts",
"new_path": "src/incidents/util/validate-incident.ts",
"diff": "-import { isAfter } from 'date-fns'\n+import isAfter from 'date-fns/isAfter'\nimport Incident from '../../shared/model/Incident'\n"
},
{
"change_t... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | perf: update import statements for date-fns to be more specific |
288,303 | 18.12.2020 23:00:32 | 18,000 | 785fb49fec558fae51b57897c7546fe531c7a938 | perf: import specific functions from lodash | [
{
"change_type": "MODIFY",
"old_path": "src/scheduling/appointments/edit/EditAppointment.tsx",
"new_path": "src/scheduling/appointments/edit/EditAppointment.tsx",
"diff": "import { Spinner, Button, Toast } from '@hospitalrun/components'\n-import _ from 'lodash'\n+import { isEmpty } from 'lodash'\nim... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | perf: import specific functions from lodash |
288,257 | 19.12.2020 17:19:15 | -46,800 | 3fba22b679110354a00f9be7a529cc4642dd4206 | test(sidebar.test.tsx): update imaging tests to now use RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/Sidebar.test.tsx",
"new_path": "src/__tests__/shared/components/Sidebar.test.tsx",
"diff": "@@ -512,120 +512,80 @@ describe('Sidebar', () => {\n})\n})\n- /*\ndescribe('medications links', () => {\nit('should render the main medi... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(sidebar.test.tsx): update imaging tests to now use RTL
#12 |
288,257 | 20.12.2020 02:09:34 | -46,800 | be42c75880241bfa6cf7494065976784929d8da1 | test(sidebar.test.tsx): add test to check incidents is rendered last in sidebar | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/Sidebar.test.tsx",
"new_path": "src/__tests__/shared/components/Sidebar.test.tsx",
"diff": "@@ -335,26 +335,10 @@ describe('Sidebar', () => {\nexpect(screen.getByText(/incidents.reports.new/i)).toBeInTheDocument()\n})\n- it.skip... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(sidebar.test.tsx): add test to check incidents is rendered last in sidebar
#12 |
288,288 | 19.12.2020 18:49:26 | -3,600 | c63d9ab5facbdbcb4e09a4ec3e496f0186dbb81b | test(incidents): convert to testing library
I did this with my bro Jens :sunglasses: | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/incidents/Incidents.test.tsx",
"new_path": "src/__tests__/incidents/Incidents.test.tsx",
"diff": "-import { mount, ReactWrapper } from 'enzyme'\n+import { render as rtlRender } from '@testing-library/react'\nimport React from 'react'\n-import { a... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(incidents): convert to testing library
I did this with my bro Jens :sunglasses: |
288,288 | 19.12.2020 19:52:46 | -3,600 | 9b5d8e0a048fdc60b805f6ebb1ba05d60ef1ef26 | test(patientsearchinput): convert to testing library with Jens :sunglasses: | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/search/PatientSearchInput.test.tsx",
"new_path": "src/__tests__/patients/search/PatientSearchInput.test.tsx",
"diff": "-import { TextInput } from '@hospitalrun/components'\n-import { mount } from 'enzyme'\n+import { render as rtlRender, ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(patientsearchinput): convert to testing library with Jens :sunglasses: |
288,306 | 19.12.2020 21:53:13 | -7,200 | 5f96ab637265d8fcd4410e4cee1b8dcebec8e844 | convert requested lab request to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/ViewLab.test.tsx",
"new_path": "src/__tests__/labs/ViewLab.test.tsx",
"diff": "@@ -97,7 +97,7 @@ describe('View Lab', () => {\nsetup(expectedLab, [Permissions.ViewLab])\nawait waitFor(() => {\n- expect(screen.getByText('labs.lab.type')).toBe... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | convert requested lab request to RTL |
288,288 | 19.12.2020 21:17:02 | -3,600 | 01baea0535eb07e9f18e170150519039923dec69 | test(add-visit-modal): convert to testing library :P | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/visits/AddVisitModal.test.tsx",
"new_path": "src/__tests__/patients/visits/AddVisitModal.test.tsx",
"diff": "-import { Modal } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzyme'\n+import { screen, render as rtl... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(add-visit-modal): convert to testing library :P |
288,374 | 20.12.2020 22:08:21 | -39,600 | 8de27cb547562d1360172a595ece2f26a73f7e94 | test(SelectWithLabelFormGroup): convert SelectWithLabelFormGroup.test.tsx to RTL
Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/input/SelectWithLabelFormGroup.test.tsx",
"new_path": "src/__tests__/shared/components/input/SelectWithLabelFormGroup.test.tsx",
"diff": "-import { Label, Select } from '@hospitalrun/components'\n-import { shallow } from 'enzyme... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(SelectWithLabelFormGroup): convert SelectWithLabelFormGroup.test.tsx to RTL
Fixes #49 |
288,309 | 20.12.2020 19:44:53 | -19,080 | a9282d02662e0fe9952e140f1d45559540a47d50 | test(nopatientsexist): convert to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/search/NoPatientsExist.test.tsx",
"new_path": "src/__tests__/patients/search/NoPatientsExist.test.tsx",
"diff": "-import { Icon, Typography, Button } from '@hospitalrun/components'\n-import { mount } from 'enzyme'\n+import { render, scre... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(nopatientsexist): convert to RTL |
288,309 | 20.12.2020 19:46:47 | -19,080 | 9805130ddc8dc877d5bf52bf4008f10b4e8e4395 | test(viewpatients): convert to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/search/ViewPatients.test.tsx",
"new_path": "src/__tests__/patients/search/ViewPatients.test.tsx",
"diff": "-import { mount } from 'enzyme'\n+import { render as rtlRender, screen } from '@testing-library/react'\nimport React from 'react'\... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(viewpatients): convert to RTL |
288,384 | 20.12.2020 17:43:17 | -3,600 | 18fc757dd69c8d8c83ff3843a2b93bcaac698526 | fix(tests): replace toHaveAttribute with toHaveValue | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/input/TestInputWithLabelFormGroup.test.tsx",
"new_path": "src/__tests__/shared/components/input/TestInputWithLabelFormGroup.test.tsx",
"diff": "@@ -65,7 +65,7 @@ describe('text input with label form group', () => {\n/>,\n)\n- ex... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(tests): replace toHaveAttribute with toHaveValue |
288,288 | 20.12.2020 19:09:32 | -3,600 | d9e3a0876e18eb543f54253e2a65d89559dcbec9 | test(add-visit-modal): convert last test suite to rtl | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/visits/AddVisitModal.test.tsx",
"new_path": "src/__tests__/patients/visits/AddVisitModal.test.tsx",
"diff": "@@ -66,12 +66,33 @@ describe('Add Visit Modal', () => {\nexpect(onCloseSpy).toHaveBeenCalledTimes(1)\n})\n- /* it('should save t... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(add-visit-modal): convert last test suite to rtl |
288,239 | 21.12.2020 06:20:50 | -39,600 | 645e9d2de35009090429a02435a4a163eacfed23 | Convert NewAppointment.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"diff": "import * as components from '@hospitalrun/components'\n-import { Alert, Button, Typeahead } from '@hos... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Convert NewAppointment.test.tsx to RTL |
288,306 | 20.12.2020 21:56:04 | -7,200 | 54827b39a342e366d6cfd2861c0c8121397c3e8d | convert canceled lab request | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/ViewLab.test.tsx",
"new_path": "src/__tests__/labs/ViewLab.test.tsx",
"diff": "@@ -236,17 +236,23 @@ describe('View Lab', () => {\n})\n})\n- describe.skip('canceled lab request', () => {\n+ describe('canceled lab request', () => {\nit('shoul... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | convert canceled lab request |
288,306 | 20.12.2020 22:23:23 | -7,200 | 69cfd2f26ba49cf4ae7bd54d9e787b3506779e93 | Convert completed lab request to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/ViewLab.test.tsx",
"new_path": "src/__tests__/labs/ViewLab.test.tsx",
"diff": "@@ -297,17 +297,16 @@ describe('View Lab', () => {\n})\n})\n- describe.skip('completed lab request', () => {\n+ describe('completed lab request', () => {\nit('sho... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Convert completed lab request to RTL |
288,306 | 20.12.2020 22:39:48 | -7,200 | b5c90a89ddae9ccf1bdf614487608cd17d7d2f3c | Convert on update to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/ViewLab.test.tsx",
"new_path": "src/__tests__/labs/ViewLab.test.tsx",
"diff": "@@ -348,33 +348,25 @@ describe('View Lab', () => {\n})\n})\n- describe.skip('on update', () => {\n+ describe('on update', () => {\nit('should update the lab with ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Convert on update to RTL |
288,306 | 20.12.2020 22:43:25 | -7,200 | 4f4e17b6934ac9b1b780c8acf1de35bfa1bb2524 | Convert on complete to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/ViewLab.test.tsx",
"new_path": "src/__tests__/labs/ViewLab.test.tsx",
"diff": "@@ -376,29 +376,22 @@ describe('View Lab', () => {\n})\n})\n- describe.skip('on complete', () => {\n+ describe('on complete', () => {\nit('should mark the status ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Convert on complete to RTL |
288,306 | 20.12.2020 22:46:54 | -7,200 | a5e2d94d2b8c55f014131ca8b0c95eb5ad8c051e | Convert on cancel to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/ViewLab.test.tsx",
"new_path": "src/__tests__/labs/ViewLab.test.tsx",
"diff": "@@ -361,7 +361,9 @@ describe('View Lab', () => {\nconst notesTextField = screen.getByLabelText('labs.lab.notes')\nuserEvent.type(notesTextField, newNotes)\n- cons... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Convert on cancel to RTL |
288,298 | 20.12.2020 15:47:58 | 21,600 | 184313b2fa2069d86a2cdbe6ce1e04a2568e7ed0 | On the right track with Router issue & old setup refactor | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"update\": \"npx npm-check -u\",\n\"prepublishOnly\": \"npm run build\",\n\"test\": \"npm run translation:check && react-scripts test --testPathIgnorePatterns=src/__tests__/test-utils --detectOpenHandles --e... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | On the right track with Router issue & old setup refactor |
288,298 | 20.12.2020 15:53:11 | 21,600 | 8f8cc82973dfb0346a80afd293624b3640634b80 | Progress with error message and comp state | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"diff": "@@ -181,7 +181,6 @@ describe('New Appointment', () => {\n</Router>\n</Provider>,\n)\n- // const = setu... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Progress with error message and comp state |
288,239 | 21.12.2020 14:58:17 | -39,600 | 5ccacc8fc80f32ba8367421e7a002dc312834b4a | It works!! Successfully sets patient and saves | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"diff": "@@ -5,7 +5,7 @@ import { roundToNearestMinutes, addMinutes } from 'date-fns'\nimport { createMemoryHis... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | It works!! Successfully sets patient and saves |
288,239 | 21.12.2020 15:53:57 | -39,600 | ab048391afc704a2ac5be285ac3fb76c2615f6ec | All tests passing. No act warnings | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"update\": \"npx npm-check -u\",\n\"prepublishOnly\": \"npm run build\",\n\"test\": \"npm run translation:check && react-scripts test --testPathIgnorePatterns=src/__tests__/test-utils --detectOpenHandles --e... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | All tests passing. No act warnings |
288,239 | 21.12.2020 16:06:13 | -39,600 | b65378af9f969036e1c2b1d0692f8fd90ff632ee | Match existing assertions | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"diff": "@@ -107,7 +107,7 @@ describe('New Appointment', () => {\n).toISOString(),\nlocation: 'location',\nreas... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Match existing assertions |
288,239 | 21.12.2020 16:14:37 | -39,600 | 1204c0c54f8910de085b2476c5f1766ffc654e17 | Refactor out beforeAll/afterAll. Don't use PouchDB at all | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"diff": "@@ -21,15 +21,12 @@ const { TitleProvider } = titleUtil\nconst mockStore = createMockStore<RootState, ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Refactor out beforeAll/afterAll. Don't use PouchDB at all |
288,239 | 22.12.2020 07:21:46 | -39,600 | e359412ef67a6f5869caf6102d98885aecf12792 | Fix act warnings and pass tests | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/visits/AddVisitModal.test.tsx",
"new_path": "src/__tests__/patients/visits/AddVisitModal.test.tsx",
"diff": "-import { screen, render as rtlRender } from '@testing-library/react'\n+import { screen, render as rtlRender, fireEvent, waitFor... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Fix act warnings and pass tests |
288,239 | 22.12.2020 14:13:34 | -39,600 | c406b0a92028771a4b196e33eaf3d5306c05918e | Check timings of various parts of test | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"diff": "@@ -175,11 +175,18 @@ describe('New Appointment', () => {\ntype: 'routine',\n} as Appointment\n+ conso... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Check timings of various parts of test |
288,239 | 22.12.2020 14:23:27 | -39,600 | f6fe3b05c356de8b4b7c52b169c8cb65b32c2277 | Remove profiling timers. Let's just get this working | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"diff": "@@ -175,18 +175,11 @@ describe('New Appointment', () => {\ntype: 'routine',\n} as Appointment\n- conso... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Remove profiling timers. Let's just get this working |
288,257 | 23.12.2020 15:11:39 | -46,800 | 37221e47cdcaeba2b421ebcaba889c41aa719c7e | test(viewmedication.test.tsx): update all tests to use RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/medications/ViewMedication.test.tsx",
"new_path": "src/__tests__/medications/ViewMedication.test.tsx",
"diff": "import { Badge, Button } from '@hospitalrun/components'\n-import { act } from '@testing-library/react'\n+import { render, screen, wait... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(viewmedication.test.tsx): update all tests to use RTL
#55 |
288,257 | 23.12.2020 16:40:51 | -46,800 | 4ec2529dcd79f59c38b07d3ad2ba7749433f49ef | Update src/__tests__/shared/components/input/TextFieldWithLabelFormGroup.test.tsx | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/input/TextFieldWithLabelFormGroup.test.tsx",
"new_path": "src/__tests__/shared/components/input/TextFieldWithLabelFormGroup.test.tsx",
"diff": "@@ -70,7 +70,7 @@ describe('text field with label form group', () => {\nrender(\n<Te... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Update src/__tests__/shared/components/input/TextFieldWithLabelFormGroup.test.tsx
Co-authored-by: Jacob M-G Evans <27247160+JacobMGEvans@users.noreply.github.com> |
288,257 | 23.12.2020 16:41:36 | -46,800 | 8f08dfecca46f1851753f0d65d696525445a523f | Update src/shared/components/input/TextFieldWithLabelFormGroup.tsx | [
{
"change_type": "MODIFY",
"old_path": "src/shared/components/input/TextFieldWithLabelFormGroup.tsx",
"new_path": "src/shared/components/input/TextFieldWithLabelFormGroup.tsx",
"diff": "@@ -20,6 +20,7 @@ const TextFieldWithLabelFormGroup = (props: Props) => {\n{label && <Label text={label} htmlFor={... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Update src/shared/components/input/TextFieldWithLabelFormGroup.tsx
Co-authored-by: Jacob M-G Evans <27247160+JacobMGEvans@users.noreply.github.com> |
288,257 | 23.12.2020 16:41:49 | -46,800 | 6d0b5e6179c08879ea5d9721619d11a2cb7f09d1 | Update src/medications/ViewMedication.tsx | [
{
"change_type": "MODIFY",
"old_path": "src/medications/ViewMedication.tsx",
"new_path": "src/medications/ViewMedication.tsx",
"diff": "@@ -297,7 +297,7 @@ const ViewMedication = () => {\n<Row>\n<Column>\n<TextFieldWithLabelFormGroup\n- id=\"notes\"\n+ data-testid=\"notes\"\nname=\"notes\"\nlabel={t... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Update src/medications/ViewMedication.tsx
Co-authored-by: Jacob M-G Evans <27247160+JacobMGEvans@users.noreply.github.com> |
288,310 | 22.12.2020 22:24:22 | 21,600 | 632f005f6e187ea344229a5dd000666ead29fd4d | Converted Medications.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/medications/Medications.test.tsx",
"new_path": "src/__tests__/medications/Medications.test.tsx",
"diff": "-import { act } from '@testing-library/react'\n-import { mount, ReactWrapper } from 'enzyme'\n+import { render } from '@testing-library/reac... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Converted Medications.test.tsx to RTL |
288,298 | 22.12.2020 22:47:15 | 21,600 | a8b9c2fa76b080c116c4d3ed7b0b082f23dc3999 | removed snap and updated test | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/imagings/Imagings.test.tsx",
"new_path": "src/__tests__/imagings/Imagings.test.tsx",
"diff": "@@ -54,7 +54,7 @@ describe('Imagings', () => {\nconst permissions: Permissions[] = [Permissions.RequestImaging]\nconst { container } = setup(permissions... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | removed snap and updated test |
288,239 | 23.12.2020 17:37:12 | -39,600 | 3d9111f244a827e23c0d76b06182a82847e1eea7 | test(view-patient): convert to rtl | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/view/ViewPatient.test.tsx",
"new_path": "src/__tests__/patients/view/ViewPatient.test.tsx",
"diff": "-import { TabsHeader, Tab } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzyme'\n+import { render, screen, wai... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(view-patient): convert to rtl |
288,309 | 23.12.2020 23:15:30 | -19,080 | aa68103dc5e6290620e98807dfc7f0efcbf57595 | test: remove commented import | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/allergies/Allergies.test.tsx",
"new_path": "src/__tests__/patients/allergies/Allergies.test.tsx",
"diff": "@@ -8,7 +8,6 @@ import createMockStore from 'redux-mock-store'\nimport thunk from 'redux-thunk'\nimport Allergies from '../../../p... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test: remove commented import |
288,288 | 23.12.2020 19:33:42 | -3,600 | db49a0b84e8b3cde9d47380ac7837a4ea7aab984 | test(imaging-request-tablet): convert to rtl | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/imagings/search/ImagingRequestTable.test.tsx",
"new_path": "src/__tests__/imagings/search/ImagingRequestTable.test.tsx",
"diff": "-import { Table } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzyme'\n+import { render as... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(imaging-request-tablet): convert to rtl |
288,288 | 23.12.2020 19:49:32 | -3,600 | 506995fd6f6492d858ccd096cefa170ec0f928d1 | test(view-care-goal): convert to rtl | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/care-goals/ViewCareGoal.test.tsx",
"new_path": "src/__tests__/patients/care-goals/ViewCareGoal.test.tsx",
"diff": "-import { mount, ReactWrapper } from 'enzyme'\n+import { render as rtlRender } from '@testing-library/react'\nimport { cre... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(view-care-goal): convert to rtl |
288,288 | 23.12.2020 21:14:43 | -3,600 | 4a3b43571d2bc89417c7932920b2846c0d7e70c6 | test(view-note): convert to rtl | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/notes/ViewNote.test.tsx",
"new_path": "src/__tests__/patients/notes/ViewNote.test.tsx",
"diff": "-import { mount, ReactWrapper } from 'enzyme'\n+import { render, screen } from '@testing-library/react'\nimport { createMemoryHistory } from... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(view-note): convert to rtl |
288,288 | 23.12.2020 22:22:53 | -3,600 | 125d5a8ab89660b3deec4c45fb632b137df0aeab | test(view-patients-table): convert to rtl with few heroes and one villain ;D | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/search/ViewPatientsTable.test.tsx",
"new_path": "src/__tests__/patients/search/ViewPatientsTable.test.tsx",
"diff": "-import { Table } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzyme'\n-import { createMemoryH... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(view-patients-table): convert to rtl with few heroes and one villain ;D |
288,310 | 23.12.2020 15:24:21 | 21,600 | c9abb9ef6daf6fcce9660ed3c665e1e748382c08 | Converted ViewIncidents.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/incidents/list/ViewIncidents.test.tsx",
"new_path": "src/__tests__/incidents/list/ViewIncidents.test.tsx",
"diff": "-import { act } from '@testing-library/react'\n-import { mount, ReactWrapper } from 'enzyme'\n+import { render } from '@testing-li... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Converted ViewIncidents.test.tsx to RTL |
288,298 | 23.12.2020 17:00:56 | 21,600 | 83c39bccc8d30884ea87a11bc313b576bd75958c | save replaced with scheduling.appointments.updateAppointment | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/edit/EditAppointment.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/edit/EditAppointment.test.tsx",
"diff": "@@ -105,7 +105,9 @@ describe('Edit Appointment', () => {\nsetup(expectedAppointment, expectedPatie... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | save replaced with scheduling.appointments.updateAppointment |
288,257 | 24.12.2020 12:52:16 | -46,800 | 5b5708b8d4f8945c8517534839946d138195599f | test(viewmedication.test.tsx): complete the update of tests to RTL
Finish the update of the tests that were skipped | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/medications/ViewMedication.test.tsx",
"new_path": "src/__tests__/medications/ViewMedication.test.tsx",
"diff": "-import { Badge, Button } from '@hospitalrun/components'\nimport { render, screen, waitFor } from '@testing-library/react'\n+import us... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(viewmedication.test.tsx): complete the update of tests to RTL
Finish the update of the tests that were skipped
#55 |
288,257 | 24.12.2020 13:04:41 | -46,800 | af0102175f1f7dc90482eb680cbeb69975c4ef9c | test(viewmedication.test.tsx): update cancelled on test to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/medications/ViewMedication.test.tsx",
"new_path": "src/__tests__/medications/ViewMedication.test.tsx",
"diff": "@@ -242,30 +242,26 @@ describe('View Medication', () => {\n})\n})\n})\n- /*\n- describe.skip('on cancel', () => {\n+\n+ describe('on c... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(viewmedication.test.tsx): update cancelled on test to RTL
#55 |
288,298 | 23.12.2020 21:46:34 | 21,600 | 1bd77f609842c6e14c150f7a735d9f52f119c4a8 | extended upon kiran's work on the search patient test | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/search/ViewPatients.test.tsx",
"new_path": "src/__tests__/patients/search/ViewPatients.test.tsx",
"diff": "-import { render as rtlRender, screen } from '@testing-library/react'\n+import { render, screen, waitFor } from '@testing-library/... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | extended upon kiran's work on the search patient test |
288,239 | 24.12.2020 15:35:37 | -39,600 | 3ea9dc744ba637b511f054027e5860bb3d644617 | fix(test): viewlab.test.tsx breaking | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/ViewLab.test.tsx",
"new_path": "src/__tests__/labs/ViewLab.test.tsx",
"diff": "@@ -11,7 +11,7 @@ import thunk from 'redux-thunk'\nimport * as validateUtil from '../../labs/utils/validate-lab'\nimport { LabError } from '../../labs/utils/valid... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(test): viewlab.test.tsx breaking |
288,310 | 23.12.2020 23:29:26 | 21,600 | 4a7a8bd19ef610dff6f5d9056c9e8bc7162886f9 | Converted ViewIncidentsTable.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/incidents/list/ViewIncidentsTable.test.tsx",
"new_path": "src/__tests__/incidents/list/ViewIncidentsTable.test.tsx",
"diff": "-import { Table, Dropdown } from '@hospitalrun/components'\n+import { render, screen, waitFor } from '@testing-library/r... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Converted ViewIncidentsTable.test.tsx to RTL |
288,298 | 24.12.2020 00:01:14 | 21,600 | a5cfc0656d7b2e667035e6b15228e2ecc83a3a2c | View Incident tests converted | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/incidents/view/ViewIncident.test.tsx",
"new_path": "src/__tests__/incidents/view/ViewIncident.test.tsx",
"diff": "-import { mount, ReactWrapper } from 'enzyme'\n+import { render, screen } from '@testing-library/react'\nimport { createMemoryHistor... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | View Incident tests converted |
288,239 | 24.12.2020 17:23:49 | -39,600 | e866c2e04e83788a1921152a22a36076989a40ae | fix(test): viewmedication.test.tsx incorrect button strings | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/medications/ViewMedication.test.tsx",
"new_path": "src/__tests__/medications/ViewMedication.test.tsx",
"diff": "@@ -161,7 +161,7 @@ describe('View Medication', () => {\nPermissions.CancelMedication,\n])\n- expect(screen.getByRole('button', { name... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(test): viewmedication.test.tsx incorrect button strings |
288,298 | 24.12.2020 00:41:15 | 21,600 | 362e2ec2336de90b9fa3801ede86b4e9b746744d | View Incident Details | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/incidents/view/ViewIncidentDetails.test.tsx",
"new_path": "src/__tests__/incidents/view/ViewIncidentDetails.test.tsx",
"diff": "-import { Button } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzyme'\n+import { render, sc... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | View Incident Details |
288,298 | 24.12.2020 10:41:11 | 21,600 | b560f5670148dd8a790f76bd734db7ca237d2aa9 | consistent naming
changed naming of render & renderRTL to setup and render | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/incidents/Incidents.test.tsx",
"new_path": "src/__tests__/incidents/Incidents.test.tsx",
"diff": "-import { render as rtlRender } from '@testing-library/react'\n+import { render } from '@testing-library/react'\nimport React from 'react'\nimport t... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | consistent naming
changed naming of render & renderRTL to setup and render |
288,298 | 24.12.2020 13:10:51 | 21,600 | 0aa29740d28b6bde4c7f4596d6f405ee9f344153 | Report Incident
started conversions | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/incidents/report/ReportIncident.test.tsx",
"new_path": "src/__tests__/incidents/report/ReportIncident.test.tsx",
"diff": "/* eslint-disable no-console */\nimport { Button } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enz... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Report Incident
started conversions |
288,298 | 24.12.2020 13:30:58 | 21,600 | 4a2eddea7af20d0efdbe5c246a3c049e9aa33eaf | Converted Input Tests Incident Report | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/incidents/report/ReportIncident.test.tsx",
"new_path": "src/__tests__/incidents/report/ReportIncident.test.tsx",
"diff": "import { Button } from '@hospitalrun/components'\nimport { render, screen } from '@testing-library/react'\n+import userEvent... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Converted Input Tests Incident Report |
288,298 | 24.12.2020 15:31:16 | 21,600 | 912a557fa1e1bc133b487a9cc9724b32f7c8fc5d | Incident Reports
Cancel button & save button | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/incidents/report/ReportIncident.test.tsx",
"new_path": "src/__tests__/incidents/report/ReportIncident.test.tsx",
"diff": "/* eslint-disable no-console */\n-\n-import { Button } from '@hospitalrun/components'\nimport { render, screen } from '@test... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Incident Reports
- Cancel button & save button |
288,298 | 24.12.2020 16:54:49 | 21,600 | 2fb77d16709b353f5a7f54ef6254de28250be7e7 | NewImagingRequest
commented out enzyme tests for conversion
reference
converted one input field test | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/imagings/requests/NewImagingRequest.test.tsx",
"new_path": "src/__tests__/imagings/requests/NewImagingRequest.test.tsx",
"diff": "-import { Button, Typeahead, Label } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzyme'\n... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | NewImagingRequest
- commented out enzyme tests for conversion
reference
- converted one input field test |
288,310 | 24.12.2020 22:33:17 | 21,600 | 3b852b8070f4fb7f6bc6f962b4c4207536e578a2 | Converting ViewLabs.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/ViewLabs.test.tsx",
"new_path": "src/__tests__/labs/ViewLabs.test.tsx",
"diff": "-import { Select, Table, TextInput } from '@hospitalrun/components'\n-import { act } from '@testing-library/react'\n-import { mount, ReactWrapper } from 'enzyme... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Converting ViewLabs.test.tsx to RTL |
288,298 | 25.12.2020 12:44:18 | 21,600 | 01628d37d9554f9fedafa692fd409d175d8f28db | NewImagingRequest
complete conversion | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"lint-staged\": \"~10.5.0\",\n\"memdown\": \"~5.1.0\",\n\"prettier\": \"~2.2.0\",\n+ \"react-select-event\": \"~5.1.0\",\n\"redux-mock-store\": \"~1.5.4\",\n\"rimraf\": \"~3.0.2\",\n\"source-map-explorer\": ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | NewImagingRequest
- complete conversion |
288,298 | 25.12.2020 13:06:17 | 21,600 | 8a5d421b91cad2e10d8ce249280bb72f63934246 | DateTimePickerWithLabelFormGroup.test.tsx
Setting up RTL & removed Enzyme setups | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/input/DateTimePickerWithLabelFormGroup.test.tsx",
"new_path": "src/__tests__/shared/components/input/DateTimePickerWithLabelFormGroup.test.tsx",
"diff": "-import { DateTimePicker, Label } from '@hospitalrun/components'\n-import ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | DateTimePickerWithLabelFormGroup.test.tsx
- Setting up RTL & removed Enzyme setups |
288,298 | 25.12.2020 13:40:18 | 21,600 | db7a75228a8a33cb9530d687c95d13ab3684e532 | DateTimePickerWithLabelFormGroup
Initial Test finished conversion | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/input/DateTimePickerWithLabelFormGroup.test.tsx",
"new_path": "src/__tests__/shared/components/input/DateTimePickerWithLabelFormGroup.test.tsx",
"diff": "// import { DateTimePicker, Label } from '@hospitalrun/components'\n-impor... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | DateTimePickerWithLabelFormGroup
- Initial Test finished conversion |
288,309 | 26.12.2020 01:05:05 | -19,080 | 926452a26ad385b7cfe8d0dcdfc531319bfcce55 | fix: work n progress | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/ViewAppointments.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/ViewAppointments.test.tsx",
"diff": "-import { Calendar } from '@hospitalrun/components'\n-import { act } from '@testing-library/react'\n-impor... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix: work n progress |
288,309 | 26.12.2020 01:23:43 | -19,080 | 2152f4f81aa76b4999488a3a68530f7216243691 | fix: coverts tests to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/ViewAppointments.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/ViewAppointments.test.tsx",
"diff": "-// import { Calendar } from '@hospitalrun/components'\n-import { act, render as rtlRender } from '@testin... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix: coverts tests to RTL |
288,239 | 26.12.2020 06:33:27 | -39,600 | ee265f81b457f995e1527b77c7152297ee5b88db | fix(test): new appointment more accessible success criteria | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/new/NewAppointment.test.tsx",
"diff": "-import * as components from '@hospitalrun/components'\n+import { Toaster } from '@hospitalrun/compone... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(test): new appointment more accessible success criteria |
288,298 | 25.12.2020 15:11:02 | 21,600 | 4dd20a0c4d2e67e51deb2f31b4a29116ad43e16a | DateTimePickerWithLabelFormGroup Test Conversion complete | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/input/DateTimePickerWithLabelFormGroup.test.tsx",
"new_path": "src/__tests__/shared/components/input/DateTimePickerWithLabelFormGroup.test.tsx",
"diff": "-// import { DateTimePicker, Label } from '@hospitalrun/components'\nimpor... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | DateTimePickerWithLabelFormGroup Test Conversion complete |
288,298 | 25.12.2020 15:21:37 | 21,600 | fa703e350477ca55581782512f2e2fc46bea4d41 | DatePickerWithLabelFormGroup Conversion Setup & removing Enzyme setups | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/input/DatePickerWithLabelFormGroup.test.tsx",
"new_path": "src/__tests__/shared/components/input/DatePickerWithLabelFormGroup.test.tsx",
"diff": "-import { DateTimePicker, Label } from '@hospitalrun/components'\n-import { shallo... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | DatePickerWithLabelFormGroup Conversion Setup & removing Enzyme setups |
288,272 | 25.12.2020 23:52:56 | -7,200 | 5e6851afad4e739e43f2a51154546329add524a9 | Converting VisitTable.test.tsx | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/visits/VisitTable.test.tsx",
"new_path": "src/__tests__/patients/visits/VisitTable.test.tsx",
"diff": "-import { Table } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzyme'\n+import { screen, render, within } fr... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Converting VisitTable.test.tsx |
288,272 | 26.12.2020 00:15:51 | -7,200 | ff842d48a3a06713d6f9ec91ebfe711e62cb59d0 | Finis migrating VisitTable.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/visits/VisitTable.test.tsx",
"new_path": "src/__tests__/patients/visits/VisitTable.test.tsx",
"diff": "-import { screen, render, within } from '@testing-library/react'\n+import { screen, render } from '@testing-library/react'\n+import us... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Finis migrating VisitTable.test.tsx to RTL |
288,272 | 26.12.2020 00:32:35 | -7,200 | e3c696454420cd3f110dc781bee8aac11770f6af | Started converting VisitTab.test.tsx | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/visits/VisitTab.test.tsx",
"new_path": "src/__tests__/patients/visits/VisitTab.test.tsx",
"diff": "-import { Button } from '@hospitalrun/components'\n-import { mount } from 'enzyme'\n+import { screen, render } from '@testing-library/reac... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Started converting VisitTab.test.tsx |
288,298 | 25.12.2020 16:33:47 | 21,600 | 7e2b7075e299b979973fd6fd2b901a9b12a38f49 | Converstion of DatePickerWithLabelFormGroup COMPLETE | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/shared/components/input/DatePickerWithLabelFormGroup.test.tsx",
"new_path": "src/__tests__/shared/components/input/DatePickerWithLabelFormGroup.test.tsx",
"diff": "-import { render } from '@testing-library/react'\n+import { render, screen } from ... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Converstion of DatePickerWithLabelFormGroup COMPLETE |
288,239 | 26.12.2020 09:42:02 | -39,600 | 9007dc9c0fa5833e373076b28ded2467754844a1 | fix(test): labs test not accurately checking redirects | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/Labs.test.tsx",
"new_path": "src/__tests__/labs/Labs.test.tsx",
"diff": "-import { render, screen } from '@testing-library/react'\n+import { render, screen, waitFor } from '@testing-library/react'\n+import { createMemoryHistory } from 'histo... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(test): labs test not accurately checking redirects |
288,257 | 26.12.2020 15:01:39 | -46,800 | 60c6a09baf6cd2926bdb3383e4f31c321e3f38ab | test(newmedicationrequest.test.tsx): update test file to use RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/medications/requests/NewMedicationRequest.test.tsx",
"new_path": "src/__tests__/medications/requests/NewMedicationRequest.test.tsx",
"diff": "-import { Button, Typeahead, Label } from '@hospitalrun/components'\n-import { mount, ReactWrapper } fro... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(newmedicationrequest.test.tsx): update test file to use RTL
#85 |
288,257 | 26.12.2020 18:53:15 | -46,800 | 64b02334435229b56d790ccfd3a53379f71ddd5b | test(newmedicationrequest.test.tsx): add tests for the select options component and cancel btn
Imptove test coverage for component, add tests for the status, intent and priority select input
componenents | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/medications/requests/NewMedicationRequest.test.tsx",
"new_path": "src/__tests__/medications/requests/NewMedicationRequest.test.tsx",
"diff": "@@ -5,6 +5,7 @@ import { createMemoryHistory } from 'history'\nimport React from 'react'\nimport { Provi... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(newmedicationrequest.test.tsx): add tests for the select options component and cancel btn
Imptove test coverage for component, add tests for the status, intent and priority select input
componenents
#85 |
288,257 | 26.12.2020 23:48:30 | -46,800 | 18e3889732ce49bb57a69661a803078c2dae673c | test(newmedicationrequest,test,tsx): finish converting tests to use RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/medications/requests/NewMedicationRequest.test.tsx",
"new_path": "src/__tests__/medications/requests/NewMedicationRequest.test.tsx",
"diff": "-import { Button, Typeahead } from '@hospitalrun/components'\nimport { render, screen } from '@testing-l... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(newmedicationrequest,test,tsx): finish converting tests to use RTL
#85 |
288,384 | 26.12.2020 15:32:26 | -3,600 | 05d72e036884f460e9bdccaacb616f265ad23252 | test(new note modal): convert NewNoteModal.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/patients/notes/NewNoteModal.test.tsx",
"new_path": "src/__tests__/patients/notes/NewNoteModal.test.tsx",
"diff": "-/* eslint-disable no-console */\n-\n-import { Alert, Modal } from '@hospitalrun/components'\n-import { act } from '@testing-library... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(new note modal): convert NewNoteModal.test.tsx to RTL |
288,239 | 27.12.2020 08:06:54 | -39,600 | 1919c8d7f5052cd210eba27dc29e19ece832f904 | fix(test): fix view appointments | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/ViewAppointments.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/ViewAppointments.test.tsx",
"diff": "-import { Calendar } from '@hospitalrun/components'\n-import { act } from '@testing-library/react'\n-impor... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(test): fix view appointments |
288,239 | 27.12.2020 08:38:24 | -39,600 | 2208d2dfea438fb1a6659f5daad55bc98f8677e3 | fix(test): view appointments bad time format | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/ViewAppointments.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/ViewAppointments.test.tsx",
"diff": "import { render, waitFor, screen } from '@testing-library/react'\nimport addMinutes from 'date-fns/addMinu... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | fix(test): view appointments bad time format |
288,310 | 27.12.2020 00:14:32 | 21,600 | a6791431f4e306a37acfa5ca12f35d5f881c333b | Convert NewLabRequest.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/labs/requests/NewLabRequest.test.tsx",
"new_path": "src/__tests__/labs/requests/NewLabRequest.test.tsx",
"diff": "-import { Button, Typeahead, Label, Alert } from '@hospitalrun/components'\n+import { render, screen, within } from '@testing-librar... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Convert NewLabRequest.test.tsx to RTL |
288,310 | 27.12.2020 14:11:07 | 21,600 | 3c85370f96499456ec33908442d3b7673af16a3c | Convert MedicationRequestSearch.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/medications/search/MedicationRequestSearch.test.tsx",
"new_path": "src/__tests__/medications/search/MedicationRequestSearch.test.tsx",
"diff": "-import { mount, ReactWrapper } from 'enzyme'\n+import { render, screen } from '@testing-library/react... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Convert MedicationRequestSearch.test.tsx to RTL |
288,239 | 28.12.2020 07:23:04 | -39,600 | c96973050ef8b527aab25c2eac5f396c313f036e | test(view-appointment): convert to rtl | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/scheduling/appointments/view/ViewAppointment.test.tsx",
"new_path": "src/__tests__/scheduling/appointments/view/ViewAppointment.test.tsx",
"diff": "-import * as components from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzy... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | test(view-appointment): convert to rtl |
288,310 | 27.12.2020 14:54:32 | 21,600 | 5d9d7840e80e4f15ee399f1294f78a58437eb2b1 | Convert MedicationRequestTable.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/medications/search/MedicationRequestTable.test.tsx",
"new_path": "src/__tests__/medications/search/MedicationRequestTable.test.tsx",
"diff": "-import { Table } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzyme'\n+import... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Convert MedicationRequestTable.test.tsx to RTL |
288,310 | 27.12.2020 15:39:12 | 21,600 | 4c82c7801e766cdab7463147e74a62acdaee8a6c | Convert ViewMedications.test.tsx to RTL | [
{
"change_type": "MODIFY",
"old_path": "src/__tests__/medications/search/ViewMedications.test.tsx",
"new_path": "src/__tests__/medications/search/ViewMedications.test.tsx",
"diff": "-import { mount, ReactWrapper } from 'enzyme'\n+import { render, screen, waitFor } from '@testing-library/react'\n+imp... | TypeScript | MIT License | hospitalrun/hospitalrun-frontend | Convert ViewMedications.test.tsx to RTL |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.