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,272
28.12.2020 00:18:40
-7,200
1389133befe7493644c0872d237b23b5624f22f3
Finish migrating VisitTab.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/visits/VisitTab.test.tsx", "new_path": "src/__tests__/patients/visits/VisitTab.test.tsx", "diff": "-import { screen, render } from '@testing-library/react'\n+import { screen, render, waitFor } from '@testing-library/react'\n+import userE...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Finish migrating VisitTab.test.tsx to RTL
288,257
28.12.2020 14:10:00
-46,800
b7f39794bab055c19599cd4dc3d325270527c7ba
test(addcareplanmodal.test.tsx): update tests to use RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "new_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "diff": "-import { Modal } from '@hospitalrun/components'\n-import { mount } from 'enzyme'\n+import { render, screen, waitF...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(addcareplanmodal.test.tsx): update tests to use RTL #108
288,310
27.12.2020 21:44:15
21,600
7541d02cb9b89370cdf1181e8848ebd7976cfedd
Convert NewAllergyModal.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/allergies/NewAllergyModal.test.tsx", "new_path": "src/__tests__/patients/allergies/NewAllergyModal.test.tsx", "diff": "/* eslint-disable no-console */\n-import { Modal, Alert } from '@hospitalrun/components'\n-import { mount } from 'enzy...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert NewAllergyModal.test.tsx to RTL
288,310
27.12.2020 22:09:29
21,600
a60f4da0cc6e900f0b88e6024a515828e37994f5
Convert AppointmentsList.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/appointments/AppointmentsList.test.tsx", "new_path": "src/__tests__/patients/appointments/AppointmentsList.test.tsx", "diff": "-import * as components from '@hospitalrun/components'\n-import { Table } from '@hospitalrun/components'\n-imp...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert AppointmentsList.test.tsx to RTL
288,310
27.12.2020 22:45:49
21,600
552b07816f0ca920c1fe394d578c3ca6b8064bf9
Add missing resetAllMocks
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/allergies/NewAllergyModal.test.tsx", "new_path": "src/__tests__/patients/allergies/NewAllergyModal.test.tsx", "diff": "@@ -16,6 +16,7 @@ describe('New Allergy Modal', () => {\n} as Patient\nconst setup = (onCloseSpy = jest.fn()) => {\n+ ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Add missing resetAllMocks
288,310
27.12.2020 23:18:23
21,600
f12d26cdc855a78d84910db79fca0a3e1f7e5c99
Convert CareGoalTab.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-goals/CareGoalTab.test.tsx", "new_path": "src/__tests__/patients/care-goals/CareGoalTab.test.tsx", "diff": "-import { mount, ReactWrapper } from 'enzyme'\n+import { render, screen, waitFor } from '@testing-library/react'\n+import us...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert CareGoalTab.test.tsx to RTL
288,257
28.12.2020 18:21:24
-46,800
e9ed1eace68feeb3ff13cf7322b5175f084be0dc
test(viewcareplans.test): update test to use RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/ViewCarePlans.test.tsx", "new_path": "src/__tests__/patients/care-plans/ViewCarePlans.test.tsx", "diff": "-import { mount, ReactWrapper } from 'enzyme'\n+import { render, waitFor } from '@testing-library/react'\nimport { creat...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(viewcareplans.test): update test to use RTL
288,257
28.12.2020 18:34:29
-46,800
f35d14d7a932c4b10929b47e13a48dc5aeebb74f
test(addcareplanmodal.test.tsx): finish updating file to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "new_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "diff": "@@ -48,7 +48,18 @@ describe('Add Care Plan Modal', () => {\nexpect(screen.getByRole('form', { name: 'care-plan-for...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(addcareplanmodal.test.tsx): finish updating file to RTL #108
288,257
28.12.2020 20:04:41
-46,800
ec02f752f466c127c80d9b695da094f1eee6f957
test(careplantab): update Tests to use RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/CarePlanTab.test.tsx", "new_path": "src/__tests__/patients/care-plans/CarePlanTab.test.tsx", "diff": "-import { Button } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzyme'\n+import { render, screen, ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(careplantab): update Tests to use RTL #130
288,257
28.12.2020 20:30:16
-46,800
82d598e5f18073866c3d046f8ce417ddf42413bf
test(addcareplanmodat.test.tsx): update tests to use RTL fix
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "new_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "diff": "@@ -22,6 +22,7 @@ describe('Add Care Plan Modal', () => {\nconst onCloseSpy = jest.fn()\nconst setup = () => {\n+ ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(addcareplanmodat.test.tsx): update tests to use RTL fix #108
288,257
28.12.2020 20:39:39
-46,800
376c5fbd19e5cba9c6ebf6364773e4eaa7d1b96e
test(addcareplanmodal): fix render form test
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "new_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "diff": "@@ -46,7 +46,7 @@ describe('Add Care Plan Modal', () => {\nit('should render the care plan form', () => {\nsetup()...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(addcareplanmodal): fix render form test
288,239
28.12.2020 10:46:44
-39,600
ec4af528eb18403880439f0d12fa0619c9434fa6
fix(tests): clear react-query cache before every test
[ { "change_type": "MODIFY", "old_path": "src/setupTests.js", "new_path": "src/setupTests.js", "diff": "@@ -3,6 +3,7 @@ import '@testing-library/jest-dom'\nimport Enzyme from 'enzyme'\nimport Adapter from 'enzyme-adapter-react-16'\nimport 'jest-canvas-mock'\n+import { queryCache } from 'react-query'\n...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(tests): clear react-query cache before every test
288,239
28.12.2020 10:56:54
-39,600
ad083a0960d4686c9fc666047c6f305e33ab901f
fix(test): view incidents
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/list/ViewIncidents.test.tsx", "new_path": "src/__tests__/incidents/list/ViewIncidents.test.tsx", "diff": "-import { render } from '@testing-library/react'\n+import { render, waitFor } from '@testing-library/react'\nimport { createMemory...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): view incidents
288,239
28.12.2020 11:03:12
-39,600
ef922ee126488b7e37c59fae35cf69ae066ba07d
fix(test): view lab
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/ViewLab.test.tsx", "new_path": "src/__tests__/labs/ViewLab.test.tsx", "diff": "@@ -282,7 +282,9 @@ describe('View Lab', () => {\nit('should not display notes text field if the status is canceled', async () => {\nsetup([Permissions.ViewLab], ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): view lab
288,239
28.12.2020 11:09:54
-39,600
f43f0c815b4bfeaf8722eba62ef961e5c7d91bdd
fix(test): visit table
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/visits/VisitTable.test.tsx", "new_path": "src/__tests__/patients/visits/VisitTable.test.tsx", "diff": "@@ -10,7 +10,6 @@ import PatientRepository from '../../../shared/db/PatientRepository'\nimport Patient from '../../../shared/model/Pat...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): visit table
288,239
28.12.2020 11:16:13
-39,600
7bc4248670097f022678ec67eab7f67726ebb007
fix(test): incidents
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/Incidents.test.tsx", "new_path": "src/__tests__/incidents/Incidents.test.tsx", "diff": "-import { render } from '@testing-library/react'\n+import { render, waitFor } from '@testing-library/react'\nimport React from 'react'\n-import type...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): incidents
288,239
28.12.2020 11:19:29
-39,600
29aa9ff8eaee23d812707ab65834e8798665850c
fix(test): imaging request table
[ { "change_type": "MODIFY", "old_path": "src/__tests__/imagings/search/ImagingRequestTable.test.tsx", "new_path": "src/__tests__/imagings/search/ImagingRequestTable.test.tsx", "diff": "@@ -46,10 +46,11 @@ describe('Imaging Request Table', () => {\nexpect(ImagingRepository.search).toHaveBeenCalledWith...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): imaging request table
288,239
28.12.2020 11:43:06
-39,600
3f7cfb8e25f29c5b0f17bf8a3953056685ef2099
test(edit-patient): convert to rtl
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/edit/EditPatient.test.tsx", "new_path": "src/__tests__/patients/edit/EditPatient.test.tsx", "diff": "+import { render, screen, waitFor } from '@testing-library/react'\n+import userEvent from '@testing-library/user-event'\nimport subDays ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(edit-patient): convert to rtl
288,239
28.12.2020 11:48:03
-39,600
f6e35185db9891727149554c4c0e25882c7c13a3
fix(test): allergies
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/allergies/Allergies.test.tsx", "new_path": "src/__tests__/patients/allergies/Allergies.test.tsx", "diff": "@@ -37,6 +37,9 @@ const setup = async (\npermissions = [Permissions.AddAllergy],\nroute = '/patients/123/allergies',\n) => {\n+ je...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): allergies
288,239
28.12.2020 13:03:06
-39,600
8c0bc432b9e175649e72e3f6cdeabd5b768d7835
fix(test): view labs
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/ViewLabs.test.tsx", "new_path": "src/__tests__/labs/ViewLabs.test.tsx", "diff": "-import { render, screen, act } from '@testing-library/react'\n+import { act, render, screen, waitFor } from '@testing-library/react'\nimport userEvent from '@t...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): view labs
288,239
28.12.2020 17:09:28
-39,600
981101faf5bc4967859f96e3cd8e005587d3fbed
fix(test): new lab request
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/requests/NewLabRequest.test.tsx", "new_path": "src/__tests__/labs/requests/NewLabRequest.test.tsx", "diff": "-import { render, screen, within } from '@testing-library/react'\n+import { render, screen, within, waitFor } from '@testing-library...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): new lab request
288,239
28.12.2020 17:14:22
-39,600
c31093a05f7d3da1df507629f9d4bbc5607035c3
test(add-care-goal-modal): better expectation
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-goals/AddCareGoalModal.test.tsx", "new_path": "src/__tests__/patients/care-goals/AddCareGoalModal.test.tsx", "diff": "@@ -70,10 +70,11 @@ describe('Add Care Goal Modal', () => {\nexpect(PatientRepository.saveOrUpdate).toHaveBeenCall...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(add-care-goal-modal): better expectation
288,239
28.12.2020 17:21:26
-39,600
1b7253a34d0b276d9293afce27373f33e3cf1695
fix(test): remove .only from view incidents
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/list/ViewIncidents.test.tsx", "new_path": "src/__tests__/incidents/list/ViewIncidents.test.tsx", "diff": "@@ -73,7 +73,7 @@ describe('View Incidents', () => {\n})\ndescribe('layout', () => {\n- it.only('should render a table with the in...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): remove .only from view incidents
288,239
28.12.2020 19:17:34
-39,600
50c27b7a33a8a70c75f63d777797e252b2c46dbb
fix(test): care plan tab
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/CarePlanTab.test.tsx", "new_path": "src/__tests__/patients/care-plans/CarePlanTab.test.tsx", "diff": "@@ -61,7 +61,7 @@ describe('Care Plan Tab', () => {\nit('should open the add care plan modal on click', async () => {\nsetup...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): care plan tab
288,257
29.12.2020 00:01:09
-46,800
7c6bb41e5612d48be7b9667521c12900c5516058
test(addcareplanmodal.test): fix test to check call to Patient Repostitory fixes
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "new_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "diff": "@@ -17,12 +17,11 @@ describe('Add Care Plan Modal', () => {\n{ id: '123', name: 'too skinny', diagnosisDate: new D...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(addcareplanmodal.test): fix test to check call to Patient Repostitory fixes #108
288,257
29.12.2020 00:50:56
-46,800
d43ffc103ede34b288930a19520fdbcebd53f9e7
fix(addcareplanmodal.test): fix timeout error in test
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "new_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "diff": "-import { render, screen, waitFor } from '@testing-library/react'\n+import { render, screen, waitFor, within } fro...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(addcareplanmodal.test): fix timeout error in test
288,257
29.12.2020 02:46:36
-46,800
fdab866e629b5e8db9d4395996c05fa61ba96879
fix(addcareplanmodel): fix error in test file
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "new_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "diff": "@@ -73,13 +73,16 @@ describe('Add Care Plan Modal', () => {\n}\nsetup()\n- const diagnosisId = screen.getAllByPlac...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(addcareplanmodel): fix error in test file
288,341
28.12.2020 20:08:39
-3,600
379a3edffd3284185a3920944079d486407bed54
feat: added optional patient field in report incident
[ { "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-import { Button } from '@hospitalrun/components'\n+import { Button, Typeahead, Label } fro...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat: added optional patient field in report incident
288,310
28.12.2020 14:12:40
21,600
921edc72364bb1cbd50cb354fdc54728ef6672f3
Convert CareGoalTable.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-goals/CareGoalTable.test.tsx", "new_path": "src/__tests__/patients/care-goals/CareGoalTable.test.tsx", "diff": "-import { Table, Alert } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzyme'\n+import { render...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert CareGoalTable.test.tsx to RTL
288,257
29.12.2020 10:49:32
-46,800
8967a5c003c87f29062907406c665ccbf1df3005
test(careplantable.test.tsx): update tests to use RTL fixes
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/CarePlanTable.test.tsx", "new_path": "src/__tests__/patients/care-plans/CarePlanTable.test.tsx", "diff": "-import { Alert, Table } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzyme'\n+import { render...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(careplantable.test.tsx): update tests to use RTL fixes #135
288,310
28.12.2020 23:23:39
21,600
f8c408558d12d8b2b35692a8cfcbb396c2b46842
Convert CarePlanForm.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/CarePlanForm.test.tsx", "new_path": "src/__tests__/patients/care-plans/CarePlanForm.test.tsx", "diff": "-import { Alert } from '@hospitalrun/components'\n-import addDays from 'date-fns/addDays'\n-import { mount } from 'enzyme'...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert CarePlanForm.test.tsx to RTL
288,272
29.12.2020 08:14:49
-7,200
6fe83555074c73129c28fb414dc496a7d9fb868b
Converted ViewVisit.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/visits/ViewVisit.test.tsx", "new_path": "src/__tests__/patients/visits/ViewVisit.test.tsx", "diff": "-import { mount, ReactWrapper } from 'enzyme'\n+import { screen, render, waitFor } from '@testing-library/react'\n+import { format } fro...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Converted ViewVisit.test.tsx to RTL
288,272
28.12.2020 00:40:11
-7,200
5c192e988ca914ad4525eee262c27495a4819bdf
Started working on migrating VisitForm.test.tsx
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/visits/VisitForm.test.tsx", "new_path": "src/__tests__/patients/visits/VisitForm.test.tsx", "diff": "import { Alert } from '@hospitalrun/components'\n+import { screen, render } from '@testing-library/react'\nimport addDays from 'date-fns...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Started working on migrating VisitForm.test.tsx
288,272
29.12.2020 00:57:34
-7,200
0545855ed8bb03b8387977ab78c5b9358ca4bc16
Converted VisitForm.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/visits/VisitForm.test.tsx", "new_path": "src/__tests__/patients/visits/VisitForm.test.tsx", "diff": "-import { Alert } from '@hospitalrun/components'\n-import { screen, render } from '@testing-library/react'\n-import addDays from 'date-f...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Converted VisitForm.test.tsx to RTL
288,272
29.12.2020 08:44:20
-7,200
349bedc6c9234197f69557b5c03f7ade34421cff
Test for changed input values. Cleanup
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/visits/VisitForm.test.tsx", "new_path": "src/__tests__/patients/visits/VisitForm.test.tsx", "diff": "@@ -38,17 +38,14 @@ describe('Visit Form', () => {\nconst { container } = setup()\nconst startDateLabel = screen.getByText(/patient.visi...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Test for changed input values. Cleanup
288,272
29.12.2020 09:13:58
-7,200
863e7998363cc8c1baf30f71e3209a57806c1187
Don't check reason value after change for now.
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/visits/VisitForm.test.tsx", "new_path": "src/__tests__/patients/visits/VisitForm.test.tsx", "diff": "-import { fireEvent, screen, render, within } from '@testing-library/react'\n+import { fireEvent, screen, render, within, waitFor } from...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Don't check reason value after change for now.
288,374
29.12.2020 23:16:21
-39,600
567bdadf113eb7539a8490bd245eb25b4967fca1
test(use-patient-note): remove retries from useQuery for tests Improves test performance when errors are expected Refactored executeQuery util Fixes
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/hooks/usePatientNote.test.ts", "new_path": "src/__tests__/patients/hooks/usePatientNote.test.ts", "diff": "@@ -31,12 +31,15 @@ describe('use note', () => {\nid: expectedPatientId,\nnotes: [{ id: '426', text: 'eome name', date: '1947-09-0...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(use-patient-note): remove retries from useQuery for tests Improves test performance when errors are expected Refactored executeQuery util Fixes #145
288,374
29.12.2020 23:18:24
-39,600
9d837bd0f93a4d6d4324c3ea874639db6c4bcaa9
test(use-allergy): fix error test to actually throw error
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/hooks/useAllergy.test.tsx", "new_path": "src/__tests__/patients/hooks/useAllergy.test.tsx", "diff": "+/* eslint-disable no-console */\n+\nimport useAllergy from '../../../patients/hooks/useAllergy'\nimport PatientRepository from '../../....
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(use-allergy): fix error test to actually throw error
288,374
29.12.2020 23:20:12
-39,600
c8dece9b8656b77336ed373ecc50fa896de1c7ae
test(use-care-plan): fix test to actually throw error
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/hooks/useCarePlan.test.tsx", "new_path": "src/__tests__/patients/hooks/useCarePlan.test.tsx", "diff": "@@ -5,6 +5,17 @@ import Patient from '../../../shared/model/Patient'\nimport executeQuery from '../../test-utils/use-query.util'\ndesc...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(use-care-plan): fix test to actually throw error
288,374
29.12.2020 23:23:12
-39,600
92b7c9eb7af88495182449a30e53eb53454920ad
test(use-allergy, use-patient-note): restore console.error after tests
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/hooks/useAllergy.test.tsx", "new_path": "src/__tests__/patients/hooks/useAllergy.test.tsx", "diff": "-/* eslint-disable no-console */\n-\nimport useAllergy from '../../../patients/hooks/useAllergy'\nimport PatientRepository from '../../....
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(use-allergy, use-patient-note): restore console.error after tests
288,257
30.12.2020 01:38:36
-46,800
0fb95a723b89e916f3b90dbe1af5f24d83d97540
test(adddiagnosismodal.test): update test file to use RTL fixes
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/ViewCarePlan.test.tsx", "new_path": "src/__tests__/patients/care-plans/ViewCarePlan.test.tsx", "diff": "-import { mount } from 'enzyme'\n+import { render, screen, waitFor } from '@testing-library/react'\nimport { createMemoryH...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(adddiagnosismodal.test): update test file to use RTL fixes #145
288,272
29.12.2020 17:20:06
-7,200
6263c9aa08d9080d4e00e0243fef5559f954ac49
Convert SearchPatients.test.tsx to RTL.
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/search/SearchPatients.test.tsx", "new_path": "src/__tests__/patients/search/SearchPatients.test.tsx", "diff": "-import { mount } from 'enzyme'\n+import { screen, render, waitFor } from '@testing-library/react'\n+import userEvent from '@t...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert SearchPatients.test.tsx to RTL.
288,272
29.12.2020 18:01:34
-7,200
cac69a33040d6c69f8ccc6599afa170f94c4e712
Remove function call assertations
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/search/SearchPatients.test.tsx", "new_path": "src/__tests__/patients/search/SearchPatients.test.tsx", "diff": "@@ -53,15 +53,16 @@ describe('Search Patients', () => {\nconst expectedSearch = 'someQueryString'\nrender(<SearchPatients />)\...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Remove function call assertations
288,257
30.12.2020 13:52:39
-46,800
af8182bb47a1b7689d356bcd1d927ec58195a118
test(diagnoses.test.tsx): update tests to use RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/diagnoses/Diagnoses.test.tsx", "new_path": "src/__tests__/patients/diagnoses/Diagnoses.test.tsx", "diff": "/* eslint-disable no-console */\n-import * as components from '@hospitalrun/components'\n-import { mount } from 'enzyme'\n+import ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(diagnoses.test.tsx): update tests to use RTL #154
288,257
30.12.2020 13:59:11
-46,800
f860e9df927f42fd6524e00c8943728f53d11e3d
test(diagnosis.test.tsx): update all tests to use RTL fixes
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/diagnoses/Diagnoses.test.tsx", "new_path": "src/__tests__/patients/diagnoses/Diagnoses.test.tsx", "diff": "/* eslint-disable no-console */\n-import * as components from '@hospitalrun/components'\n-import { mount } from 'enzyme'\n+import ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(diagnosis.test.tsx): update all tests to use RTL fixes #154
288,310
29.12.2020 22:43:40
21,600
c64224dbad7ebb6c41b2fed9f145e36c5f6cf348
Convert DiagnosesList.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/diagnoses/DiagnosesList.test.tsx", "new_path": "src/__tests__/patients/diagnoses/DiagnosesList.test.tsx", "diff": "-import { Alert, List, ListItem } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzyme'\n+import {...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert DiagnosesList.test.tsx to RTL
288,239
30.12.2020 16:30:49
-39,600
5370527d3b40347b16d810646d3f5a578fe13234
fix(test): timeouts
[ { "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,6 +5,7 @@ import addMinutes from 'date-fns/addMinutes'\nimport roundToNearestMinutes from 'date-...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): timeouts
288,239
30.12.2020 16:35:53
-39,600
7dd0893fccc522cf4e8222c470f754b81464567a
fix(test): linting errors
[ { "change_type": "MODIFY", "old_path": "src/__tests__/App.test.tsx", "new_path": "src/__tests__/App.test.tsx", "diff": "@@ -11,6 +11,7 @@ const mockStore = createMockStore<RootState, any>([thunk])\nit('renders without crashing', async () => {\n// Supress the console.log in the test ouput\n+ // eslin...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): linting errors
288,239
30.12.2020 18:17:57
-39,600
8109f236dbf3303dc2b0c457796ae5642c9cb973
fix(test): date picker with label form group
[ { "change_type": "MODIFY", "old_path": "src/__tests__/shared/components/input/DatePickerWithLabelFormGroup.test.tsx", "new_path": "src/__tests__/shared/components/input/DatePickerWithLabelFormGroup.test.tsx", "diff": "@@ -49,7 +49,7 @@ describe('date picker with label form group', () => {\nconst dat...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): date picker with label form group
288,239
30.12.2020 18:57:10
-39,600
855e934f1288229ade546338147721424f4fe080
fix(test): add care plan modal increase timeout
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "new_path": "src/__tests__/patients/care-plans/AddCarePlanModal.test.tsx", "diff": "@@ -76,21 +76,17 @@ describe('Add Care Plan Modal', () => {\nconst condition = screen.getAllByRole('combobox')[0]\...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): add care plan modal increase timeout
288,310
30.12.2020 02:03:25
21,600
27e3af7abc1405dada41cb3730ea45c4d96e7ae8
Convert DiagnosisForm.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/diagnoses/DiagnosisForm.test.tsx", "new_path": "src/__tests__/patients/diagnoses/DiagnosisForm.test.tsx", "diff": "-import { Alert } from '@hospitalrun/components'\n-import addDays from 'date-fns/addDays'\n-import { mount } from 'enzyme'...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert DiagnosisForm.test.tsx to RTL
288,239
30.12.2020 19:04:15
-39,600
492bd0d9343376c7085fdb0f92f619383a8f0664
fix(test): visit form
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/visits/VisitForm.test.tsx", "new_path": "src/__tests__/patients/visits/VisitForm.test.tsx", "diff": "@@ -94,10 +94,13 @@ describe('Visit Form', () => {\nconst endDateTimePicker = container.querySelectorAll(\n'.react-datepicker__input-con...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): visit form
288,239
30.12.2020 21:10:08
-39,600
ccf7130216e15f498a5e3757c0f805c7f6a5acfe
fix(test): care goal form
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-goals/CareGoalForm.test.tsx", "new_path": "src/__tests__/patients/care-goals/CareGoalForm.test.tsx", "diff": "@@ -96,7 +96,7 @@ describe('Care Goal Form', () => {\nconst priority = screen.getAllByRole('combobox')[0]\nuserEvent.type(...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): care goal form
288,272
30.12.2020 00:26:40
-7,200
990660b3f80fec8ef9ecfb25dfd16e66ec9fa517
Convert NotesList.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/notes/NotesList.test.tsx", "new_path": "src/__tests__/patients/notes/NotesList.test.tsx", "diff": "-import { Alert, List, ListItem } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from 'enzyme'\n+import { screen, render,...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert NotesList.test.tsx to RTL
288,272
30.12.2020 01:17:01
-7,200
aaedc363ff2616cb5046f25498ec8aeb414d98c3
Fix button date string
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/notes/NotesList.test.tsx", "new_path": "src/__tests__/patients/notes/NotesList.test.tsx", "diff": "import { screen, render, waitFor } from '@testing-library/react'\nimport userEvent from '@testing-library/user-event'\n+import { format } ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Fix button date string
288,305
30.12.2020 17:19:56
-19,080
31e671252ce08dc5123c734497dd6b91fb3a56bd
fix(button labels): fixed button label translation
[ { "change_type": "MODIFY", "old_path": "src/patients/care-goals/CareGoalTable.tsx", "new_path": "src/patients/care-goals/CareGoalTable.tsx", "diff": "@@ -55,7 +55,7 @@ const CareGoalTable = (props: Props) => {\nactionsHeaderText={t('actions.label')}\nactions={[\n{\n- label: 'actions.view',\n+ label:...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(button labels): fixed button label translation
288,257
31.12.2020 01:44:38
-46,800
daa0dc64be2a2e77db7ab25facb76053270e4c5b
test(labslist.test.tsx): update file to use RTL fixes
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/labs/LabsList.test.tsx", "new_path": "src/__tests__/patients/labs/LabsList.test.tsx", "diff": "-import * as components from '@hospitalrun/components'\n-import { Table } from '@hospitalrun/components'\n-import { mount, ReactWrapper } from...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(labslist.test.tsx): update file to use RTL fixes #158
288,272
30.12.2020 00:55:08
-7,200
fa758973f7545703ec625f10b24981b3e4b9e18e
Started converting NotesTab.test.tsx
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/notes/NotesTab.test.tsx", "new_path": "src/__tests__/patients/notes/NotesTab.test.tsx", "diff": "/* eslint-disable no-console */\n-import * as components from '@hospitalrun/components'\n-import { mount } from 'enzyme'\n+import { screen, ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Started converting NotesTab.test.tsx
288,272
30.12.2020 14:57:30
-7,200
4b96df4b81d161ba3e0e1d609d92a2f609a04f87
Convert last test from NotesTab.test.tsx
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/notes/NotesTab.test.tsx", "new_path": "src/__tests__/patients/notes/NotesTab.test.tsx", "diff": "@@ -5,7 +5,6 @@ import userEvent from '@testing-library/user-event'\nimport { createMemoryHistory } from 'history'\nimport assign from 'loda...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert last test from NotesTab.test.tsx
288,257
31.12.2020 02:17:17
-46,800
bb96d3b63d24ed5e4bd3e5c232766241a109eee5
Update src/__tests__/patients/labs/LabsList.test.tsx delete testingPlaygroundURL()
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/labs/LabsList.test.tsx", "new_path": "src/__tests__/patients/labs/LabsList.test.tsx", "diff": "@@ -87,7 +87,7 @@ describe('Table', () => {\n}),\n).toBeInTheDocument()\n- screen.logTestingPlaygroundURL()\n+\n})\nit('should navigate to lab...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Update src/__tests__/patients/labs/LabsList.test.tsx delete testingPlaygroundURL()
288,341
30.12.2020 17:06:59
-3,600
17b48433df0a83c548dc3122f9664cc89b39d0ea
feat: added full name on incidents details view, added translations for incidents.report.patient
[ { "change_type": "MODIFY", "old_path": "src/incidents/view/ViewIncidentDetails.tsx", "new_path": "src/incidents/view/ViewIncidentDetails.tsx", "diff": "@@ -3,6 +3,7 @@ import format from 'date-fns/format'\nimport React from 'react'\nimport { useHistory } from 'react-router'\n+import usePatient from ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat: added full name on incidents details view, added translations for incidents.report.patient
288,305
30.12.2020 22:05:49
-19,080
18b5c7ae79163572bda09657051ded48a27f93a5
fix(incidents): filter by status labels
[ { "change_type": "MODIFY", "old_path": "src/shared/locales/enUs/translations/incidents/index.ts", "new_path": "src/shared/locales/enUs/translations/incidents/index.ts", "diff": "@@ -6,9 +6,9 @@ export default {\nreport: 'Report',\n},\nstatus: {\n- reported: 'reported',\n- resolved: 'resolved',\n- al...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(incidents): filter by status labels
288,272
30.12.2020 21:16:30
-7,200
87c0d0d2ca826174880da5e7272d7a860f2d853d
Removed function call assertations
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/visits/VisitForm.test.tsx", "new_path": "src/__tests__/patients/visits/VisitForm.test.tsx", "diff": "@@ -58,13 +58,11 @@ describe('Visit Form', () => {\nconst startDateTimePicker = container.querySelectorAll(\n'.react-datepicker__input-c...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Removed function call assertations
288,239
31.12.2020 07:23:37
-39,600
68a7afe1d64b65245f14134fd37f385e126a1444
chore(ci): attempt with max workers of 2
[ { "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 --env=jest-environment-...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore(ci): attempt with max workers of 2
288,239
31.12.2020 07:53:02
-39,600
446b972b07489b5fe95936330536df190a44d30f
fix(test): app - increase wait for timeout
[ { "change_type": "MODIFY", "old_path": "src/__tests__/App.test.tsx", "new_path": "src/__tests__/App.test.tsx", "diff": "@@ -38,7 +38,7 @@ it('renders without crashing', async () => {\n() => {\nexpect(screen.getByRole('heading', { name: /dashboard\\.label/i })).toBeInTheDocument()\n},\n- { timeout: 3...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): app - increase wait for timeout
288,310
30.12.2020 15:19:04
21,600
e55b64bdadc1fdc957c8d30f51e8727d214a0058
Convert Labs.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/labs/Labs.test.tsx", "new_path": "src/__tests__/patients/labs/Labs.test.tsx", "diff": "-import { mount, ReactWrapper } from 'enzyme'\n+import { render, waitFor } from '@testing-library/react'\nimport { createMemoryHistory } from 'history...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert Labs.test.tsx to RTL
288,310
30.12.2020 15:54:07
21,600
3571dbe8caa9129f924c7b3e83e96c51f073d9fc
Convert Medications.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/medications/Medications.test.tsx", "new_path": "src/__tests__/patients/medications/Medications.test.tsx", "diff": "-import { mount, ReactWrapper } from 'enzyme'\n+import { render, screen } from '@testing-library/react'\nimport { createMe...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert Medications.test.tsx to RTL
288,257
31.12.2020 14:14:04
-46,800
d16d06c0eee8755b73d4a2cd18da81f32c41509e
fix(labslist.test.tsx): fix lint problem in file
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/labs/LabsList.test.tsx", "new_path": "src/__tests__/patients/labs/LabsList.test.tsx", "diff": "@@ -86,8 +86,6 @@ describe('Table', () => {\nname: /actions\\.label/i,\n}),\n).toBeInTheDocument()\n-\n-\n})\nit('should navigate to lab view ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(labslist.test.tsx): fix lint problem in file
288,257
31.12.2020 15:06:52
-46,800
0a9570fc6f74c3c66bbd16771faf42c6449d3b7f
test(duplicatenewpatientmodal.test.tsx): update tests to use RTL fixes
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/new/DuplicateNewPatientModal.test.tsx", "new_path": "src/__tests__/patients/new/DuplicateNewPatientModal.test.tsx", "diff": "-import { Modal } from '@hospitalrun/components'\n-import { act } from '@testing-library/react'\n-import { mount...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(duplicatenewpatientmodal.test.tsx): update tests to use RTL fixes #168
288,402
30.12.2020 21:36:45
18,000
bf66aeecaca336f48ae07c059b475b3daf9211bb
fix(mobile navbar): mobile navbar fix remove unnecessary links in mobile navbar
[ { "change_type": "MODIFY", "old_path": "src/shared/components/navbar/pageMap.tsx", "new_path": "src/shared/components/navbar/pageMap.tsx", "diff": "@@ -89,18 +89,6 @@ const pageMap: {\npath: '/incidents/visualize',\nicon: 'incident',\n},\n- newVisit: {\n- permission: Permissions.AddVisit,\n- label: ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(mobile navbar): mobile navbar fix remove unnecessary links in mobile navbar
288,257
31.12.2020 15:56:21
-46,800
8159479be6f9ccf09ae93b3704b0f2dd84d791ee
fix(searchpatients.test): add "await" to async tests fixes
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/search/SearchPatients.test.tsx", "new_path": "src/__tests__/patients/search/SearchPatients.test.tsx", "diff": "@@ -35,6 +35,8 @@ describe('Search Patients', () => {\nawait waitFor(() => {\nexpect(screen.getByRole('heading', { name: /pati...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(searchpatients.test): add "await" to async tests fixes #168
288,310
30.12.2020 21:26:16
21,600
147013b8fd6e3f69cecf5aa0f903172302edade0
Convert MedicationsList.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/medications/MedicationsList.test.tsx", "new_path": "src/__tests__/patients/medications/MedicationsList.test.tsx", "diff": "-import * as components from '@hospitalrun/components'\n-import { Table } from '@hospitalrun/components'\n-import ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert MedicationsList.test.tsx to RTL
288,310
30.12.2020 22:33:31
21,600
53ed6e217735cfd84427ca26aecca932718eeaf4
Convert ImportantPatientInfo.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/view/ImportantPatientInfo.test.tsx", "new_path": "src/__tests__/patients/view/ImportantPatientInfo.test.tsx", "diff": "-import * as components from '@hospitalrun/components'\n+import { render, screen, within } from '@testing-library/reac...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert ImportantPatientInfo.test.tsx to RTL
288,239
31.12.2020 12:23:37
-39,600
bceb0545212882f2ef84760dc5a20e2ef87f6a0b
test(patients): convert to rtl
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/Patients.test.tsx", "new_path": "src/__tests__/patients/Patients.test.tsx", "diff": "-import { mount } from 'enzyme'\n+import { render, screen } from '@testing-library/react'\n+import { createMemoryHistory } from 'history'\nimport React ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(patients): convert to rtl
288,239
31.12.2020 14:31:09
-39,600
5ef29a15a0c1a4cad1cd48d0586200c292010043
test(relatedpersonstab): convert to rtl
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/related-persons/RelatedPersonsTab.test.tsx", "new_path": "src/__tests__/patients/related-persons/RelatedPersonsTab.test.tsx", "diff": "-import * as components from '@hospitalrun/components'\n-import { Table } from '@hospitalrun/component...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(relatedpersonstab): convert to rtl
288,239
31.12.2020 16:02:16
-39,600
94fe727d55a23ed73f2e2a96aab7e5850f6eabaa
fix(tests): cleaning up mocks so they don't leak
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/hooks/useCompleteLab.test.ts", "new_path": "src/__tests__/labs/hooks/useCompleteLab.test.ts", "diff": "@@ -21,10 +21,9 @@ describe('Use Complete lab', () => {\n} as Lab\nDate.now = jest.fn(() => expectedCompletedOnDate.valueOf())\n- jest.spy...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(tests): cleaning up mocks so they don't leak
288,239
31.12.2020 16:41:17
-39,600
92c027d7a64283e6594ff8c5a88cf698b4a2532e
test(view appointments): make tests time agnostic
[ { "change_type": "MODIFY", "old_path": "src/__tests__/scheduling/appointments/ViewAppointments.test.tsx", "new_path": "src/__tests__/scheduling/appointments/ViewAppointments.test.tsx", "diff": "@@ -18,17 +18,15 @@ import { RootState } from '../../../shared/store'\nconst { TitleProvider } = titleUtil...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(view appointments): make tests time agnostic
288,310
31.12.2020 00:43:41
21,600
ffa4d9ecdf27e557ab5d77181466f6f0d3368c6f
Convert AddRelatedPersonModal.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx", "new_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx", "diff": "-import { Modal, Alert, Typeahead } from '@hospitalrun/components'\n-import { act } from '@tes...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert AddRelatedPersonModal.test.tsx to RTL
288,374
31.12.2020 20:39:32
-39,600
00064eca190e5c7693a8f2b60114d8d8b739d883
test(query-hooks): update remaining query hooks to use executeQuery utility
[ { "change_type": "MODIFY", "old_path": "src/__tests__/imagings/hooks/useImagingRequest.test.tsx", "new_path": "src/__tests__/imagings/hooks/useImagingRequest.test.tsx", "diff": "-import { renderHook, act } from '@testing-library/react-hooks'\n-\nimport useImagingRequest from '../../../imagings/hooks...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(query-hooks): update remaining query hooks to use executeQuery utility
288,257
01.01.2021 02:05:26
-46,800
cc46717c870058b1b8f0353d8d5a5464ae1923c2
test(contactinfo.test.tsx): update test to use RTL fixes
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/ContactInfo.test.tsx", "new_path": "src/__tests__/patients/ContactInfo.test.tsx", "diff": "-import { Column, Spinner } from '@hospitalrun/components'\n-import { mount } from 'enzyme'\n+import { screen, render } from '@testing-library/rea...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(contactinfo.test.tsx): update test to use RTL fixes #172
288,298
31.12.2020 12:09:11
21,600
0e7d25e4284088badb8946eec05d506b2109545c
GeneralInfo Error test converted
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/GeneralInformation.test.tsx", "new_path": "src/__tests__/patients/GeneralInformation.test.tsx", "diff": "@@ -36,63 +36,43 @@ const patient = {\ncode: 'P00001',\n} as Patient\n-const setup = (patientArg: Patient, isEditable = true, router...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
GeneralInfo Error test converted
288,310
31.12.2020 13:07:33
21,600
2594cde5937a2c1ad3e5c1dc36b42f6c26589c91
Update AddRelatedPersonModal to fix save test
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx", "new_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx", "diff": "-import { render, screen } from '@testing-library/react'\n+import { act, render, screen } from...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Update AddRelatedPersonModal to fix save test
288,298
31.12.2020 13:10:17
21,600
ad4c873ad741ca79c56d64fe335069f50c3bd455
More than half of non editable input scenerios are converted
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/GeneralInformation.test.tsx", "new_path": "src/__tests__/patients/GeneralInformation.test.tsx", "diff": "import { render, screen } from '@testing-library/react'\n-import startOfDay from 'date-fns/startOfDay'\n-import subYears from 'date-...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
More than half of non editable input scenerios are converted
288,239
01.01.2021 06:40:52
-39,600
9fa9fd3acee198f6f2d59d90825dadd984fe3666
fix(test): failing in ci
[ { "change_type": "MODIFY", "old_path": "src/__tests__/App.test.tsx", "new_path": "src/__tests__/App.test.tsx", "diff": "-import { render, screen, waitFor } from '@testing-library/react'\n+import { render, screen } from '@testing-library/react'\nimport React from 'react'\nimport { Provider } from 're...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): failing in ci
288,298
31.12.2020 13:56:41
21,600
46c77dc124ff557a45edc61f91230fd1ce2107ac
Mostly done with converting non-editable describe block
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/GeneralInformation.test.tsx", "new_path": "src/__tests__/patients/GeneralInformation.test.tsx", "diff": "@@ -18,8 +18,8 @@ const patient = {\nbloodType: 'A-',\ndateOfBirth: '12/31/1990',\nisApproximateDateOfBirth: false,\n- occupation: '...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Mostly done with converting non-editable describe block
288,239
01.01.2021 07:24:15
-39,600
f12f344d7c9df32ce96d4517138c32275eaad524
fix(test): incorrect date formats
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-goals/CareGoalForm.test.tsx", "new_path": "src/__tests__/patients/care-goals/CareGoalForm.test.tsx", "diff": "@@ -154,7 +154,7 @@ describe('Care Goal Form', () => {\nexpect(screen.getByText(/patient.careGoal.startDate/i)).toBeInTheD...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): incorrect date formats
288,239
01.01.2021 07:45:18
-39,600
0638d44a98c0dd251e83b45a2b03003021a55984
fix(test): add typing delay so search gets called correctly
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx", "new_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx", "diff": "import { act, render, screen } from '@testing-library/react'\nimport userEvent from '@testing-...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): add typing delay so search gets called correctly
288,298
31.12.2020 15:05:42
21,600
baf9c2b605ff8f941c4af964620d45d2014ebcab
Abstracted assertion pattern that was repeating
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/GeneralInformation.test.tsx", "new_path": "src/__tests__/patients/GeneralInformation.test.tsx", "diff": "@@ -21,8 +21,8 @@ const patient = {\noccupation: 'MockOccupationValue',\npreferredLanguage: 'MockPreferredLanguage',\nphoneNumbers: ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Abstracted assertion pattern that was repeating
288,239
01.01.2021 08:44:06
-39,600
ce51bcab2ffec1490a80dada02bb9909856f5436
fix(tests): incorrectly resetting canvas mock
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx", "new_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx", "diff": "import { act, render, screen } from '@testing-library/react'\nimport userEvent from '@testing-...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(tests): incorrectly resetting canvas mock
288,239
01.01.2021 11:09:00
-39,600
ce82875ce61aa442f43b7d8270011f5ea7be0778
test(appointment detail form): convert to rtl
[ { "change_type": "MODIFY", "old_path": "src/__tests__/scheduling/appointments/AppointmentDetailForm.test.tsx", "new_path": "src/__tests__/scheduling/appointments/AppointmentDetailForm.test.tsx", "diff": "-import { Typeahead, Alert } from '@hospitalrun/components'\n-import { act } from '@testing-libr...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(appointment detail form): convert to rtl
288,298
31.12.2020 18:15:01
21,600
988ad766de8496378fb83ece95a194b024ee1f8b
GeneralInformation RTL Conversion complete
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/GeneralInformation.test.tsx", "new_path": "src/__tests__/patients/GeneralInformation.test.tsx", "diff": "import { render, screen } from '@testing-library/react'\nimport userEvent from '@testing-library/user-event'\n+import startOfDay fro...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
GeneralInformation RTL Conversion complete
288,298
31.12.2020 18:38:42
21,600
31a0a7058f856f66936e43a354fe95ea84b57f1d
match the i18 key environment
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/GeneralInformation.test.tsx", "new_path": "src/__tests__/patients/GeneralInformation.test.tsx", "diff": "@@ -156,7 +156,7 @@ describe('General Information, readonly', () => {\nsetup(patient, false)\nconst patientSex = screen.getByDisplay...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
match the i18 key environment
288,298
31.12.2020 21:43:22
21,600
cb00401204e5185ff286b63c36cc5cf3ca3052d7
Datepicker element in CI not found
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/GeneralInformation.test.tsx", "new_path": "src/__tests__/patients/GeneralInformation.test.tsx", "diff": "@@ -108,9 +108,9 @@ describe('General Information, readonly', () => {\ntypeReadonlyAssertion(screen.getByPlaceholderText(/patient\\....
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Datepicker element in CI not found
288,239
01.01.2021 15:30:20
-39,600
a58d186934bf3a4e23033a12d6aa363363e87633
fix(test): increase findBy timeouts for dates
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/GeneralInformation.test.tsx", "new_path": "src/__tests__/patients/GeneralInformation.test.tsx", "diff": "@@ -110,7 +110,12 @@ describe('General Information, readonly', () => {\nit('should render the date of the birth of the patient', asy...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): increase findBy timeouts for dates
288,239
01.01.2021 15:33:23
-39,600
7fe5ee04c6a6deb283cb4a512cedfb11f177ecfd
fix(test): prettier error
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/GeneralInformation.test.tsx", "new_path": "src/__tests__/patients/GeneralInformation.test.tsx", "diff": "@@ -112,7 +112,7 @@ describe('General Information, readonly', () => {\nsetup(patient, false)\ntypeReadonlyAssertion(\nawait screen.f...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): prettier error
288,239
01.01.2021 15:35:13
-39,600
d2866f29216ec77a43da0889144c5ed6a8b39bf6
test(appointments): convert to rtl
[ { "change_type": "MODIFY", "old_path": "src/__tests__/scheduling/appointments/Appointments.test.tsx", "new_path": "src/__tests__/scheduling/appointments/Appointments.test.tsx", "diff": "-import { mount, ReactWrapper } from 'enzyme'\n+import { render, screen } from '@testing-library/react'\n+import {...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(appointments): convert to rtl
288,239
01.01.2021 18:14:10
-39,600
9e69c0b8058e7c98311cf4ea0e39f10330668bb1
fix(test): pass correctly formatted dates
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/GeneralInformation.test.tsx", "new_path": "src/__tests__/patients/GeneralInformation.test.tsx", "diff": "import { render, screen } from '@testing-library/react'\nimport userEvent from '@testing-library/user-event'\n+import format from 'd...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): pass correctly formatted dates
288,310
01.01.2021 02:55:07
21,600
b028a4d090afe6d8618bec9c6bb82346df4a5423
Convert NewPatient.test.tsx to RTL
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/new/NewPatient.test.tsx", "new_path": "src/__tests__/patients/new/NewPatient.test.tsx", "diff": "import * as components from '@hospitalrun/components'\n-import { mount } from 'enzyme'\n+import { Toaster } from '@hospitalrun/components'\n...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Convert NewPatient.test.tsx to RTL
288,374
01.01.2021 22:02:35
-39,600
6fd366fb69750bfb94e516b5eb5c5788bba3f743
test(hooks): clean up hook tests
[ { "change_type": "MODIFY", "old_path": "src/__tests__/page-header/breadcrumbs/useAddBreadcrumbs.test.tsx", "new_path": "src/__tests__/page-header/breadcrumbs/useAddBreadcrumbs.test.tsx", "diff": "@@ -6,9 +6,8 @@ import thunk from 'redux-thunk'\nimport * as breadcrumbsSlice from '../../../page-header...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(hooks): clean up hook tests
288,374
01.01.2021 22:04:14
-39,600
4aaa334710774d7087d5fce297b6c5de61224dcc
test(network-status-message): remove unnecessary usage of
[ { "change_type": "MODIFY", "old_path": "src/__tests__/shared/components/network-status/NetworkStatusMessage.test.tsx", "new_path": "src/__tests__/shared/components/network-status/NetworkStatusMessage.test.tsx", "diff": "import { render } from '@testing-library/react'\n-import { renderHook } from '@t...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(network-status-message): remove unnecessary usage of @testing-library/react-hooks