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,239
02.01.2021 08:13:13
-39,600
b564ccf36568aa94a155b04ac19d6c41c6f8e88e
chore(new patient): comment out test for now
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/new/NewPatient.test.tsx", "new_path": "src/__tests__/patients/new/NewPatient.test.tsx", "diff": "@@ -78,23 +78,25 @@ describe('New Patient', () => {\n)\n})\n- it('should reveal modal (return true) when save button is clicked if an existi...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore(new patient): comment out test for now
288,298
01.01.2021 15:51:28
21,600
2e0a242979b1899f423606ae0c403bce688bb7d4
Refactor test setup for file
[ { "change_type": "MODIFY", "old_path": "src/__tests__/HospitalRun.test.tsx", "new_path": "src/__tests__/HospitalRun.test.tsx", "diff": "-import { render as rtlRender, screen, within } from '@testing-library/react'\n-import React, { FC, ReactElement } from 'react'\n+import { render, screen, within } ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Refactor test setup for file
288,298
01.01.2021 16:06:26
21,600
6bb0bfa391bdb7f1f9d945def6701add8628e6a4
Refactored test setup Sidebar file
[ { "change_type": "MODIFY", "old_path": "src/__tests__/shared/components/Sidebar.test.tsx", "new_path": "src/__tests__/shared/components/Sidebar.test.tsx", "diff": "-import { render as rtlRender, screen } from '@testing-library/react'\n+import { render, screen } from '@testing-library/react'\nimport ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Refactored test setup Sidebar file
288,239
02.01.2021 10:24:14
-39,600
1a4946991c950b758859ec7cdc65cb0c19a594ef
chore(enzyme): remove enzyme
[ { "change_type": "MODIFY", "old_path": ".github/CONTRIBUTING.md", "new_path": ".github/CONTRIBUTING.md", "diff": "@@ -58,7 +58,7 @@ _Note: We no longer support the use of yarn._\n## 4. Before pushing your changes, check locally that your branch passes CI checks\n-### We use Jest + Enzyme for Behavio...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore(enzyme): remove enzyme
288,239
02.01.2021 12:58:13
-39,600
2a8f9828f604a9693dc57fe8cfc85f92c858f650
chore(deps): add react-test-renderer
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"memdown\": \"~5.1.0\",\n\"prettier\": \"~2.2.0\",\n\"react-select-event\": \"~5.1.0\",\n+ \"react-test-renderer\": \"~16.13.1\",\n\"redux-mock-store\": \"~1.5.4\",\n\"rimraf\": \"~3.0.2\",\n\"source-map-exp...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore(deps): add react-test-renderer
288,239
02.01.2021 12:58:30
-39,600
01c1b52b1c59a9d671a18da8b195bc539992150b
fix(test): attempt to fix bad datetime test
[ { "change_type": "MODIFY", "old_path": "src/__tests__/scheduling/appointments/ViewAppointments.test.tsx", "new_path": "src/__tests__/scheduling/appointments/ViewAppointments.test.tsx", "diff": "@@ -93,23 +93,4 @@ describe('ViewAppointments', () => {\nexpect.stringContaining(expectedEnd),\n)\n})\n-\n...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): attempt to fix bad datetime test
288,310
02.01.2021 21:34:39
21,600
4dff10975436599f33134ba8d9df5e77a7299ac6
Remove redundant test and clean up ImagingRequestTable
[ { "change_type": "MODIFY", "old_path": "src/__tests__/imagings/search/ImagingRequestTable.test.tsx", "new_path": "src/__tests__/imagings/search/ImagingRequestTable.test.tsx", "diff": "import { render as rtlRender, screen } from '@testing-library/react'\n+import format from 'date-fns/format'\nimport ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Remove redundant test and clean up ImagingRequestTable
288,298
02.01.2021 22:07:50
21,600
ca47677bede48ed65a1c05746f33fa3746db313c
Added settings tests UI/UX behavior for dropdown combobox selections for language
[ { "change_type": "MODIFY", "old_path": "src/__tests__/settings/Settings.test.tsx", "new_path": "src/__tests__/settings/Settings.test.tsx", "diff": "-import { render } from '@testing-library/react'\n+import { render, screen } from '@testing-library/react'\n+import userEvent from '@testing-library/use...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Added settings tests - UI/UX behavior for dropdown combobox - selections for language
288,310
02.01.2021 22:48:00
21,600
67d6d299a0854d7780a1cb23873437abef266af8
Replace IncidentRepository calls, improve table query
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/list/ViewIncidents.test.tsx", "new_path": "src/__tests__/incidents/list/ViewIncidents.test.tsx", "diff": "-import { render, waitFor } from '@testing-library/react'\n+import { render, screen } from '@testing-library/react'\nimport { crea...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Replace IncidentRepository calls, improve table query
288,310
02.01.2021 23:28:10
21,600
26e35dde120197631dfd5a6bfdf4b9df334e8978
Refactor setup to remove dupe code, removed redundant test, improved queries
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/list/ViewIncidentsTable.test.tsx", "new_path": "src/__tests__/incidents/list/ViewIncidentsTable.test.tsx", "diff": "-import { render, screen, waitFor } from '@testing-library/react'\n+import { render, screen } from '@testing-library/rea...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Refactor setup to remove dupe code, removed redundant test, improved queries
288,310
03.01.2021 00:21:14
21,600
e1aa92b0db33dba585eaf8b88317e37eb978f409
Fixed updateTitle (setState) call not being within useEffect
[ { "change_type": "MODIFY", "old_path": "src/incidents/view/ViewIncident.tsx", "new_path": "src/incidents/view/ViewIncident.tsx", "diff": "-import React from 'react'\n+import React, { useEffect } from 'react'\nimport { useSelector } from 'react-redux'\nimport { useParams } from 'react-router-dom'\n@@...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Fixed updateTitle (setState) call not being within useEffect
288,310
03.01.2021 00:25:35
21,600
2192e6015bcf665425a0788044d798c5b8d5b11d
Refactored to use screen instead of container where possible, inline snapshots to better convey 'should not navigate' results
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/Incidents.test.tsx", "new_path": "src/__tests__/incidents/Incidents.test.tsx", "diff": "-import { render, waitFor } from '@testing-library/react'\n+import { render, screen, waitFor } from '@testing-library/react'\nimport React from 'rea...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Refactored to use screen instead of container where possible, inline snapshots to better convey 'should not navigate' results
288,257
03.01.2021 23:55:10
-46,800
405ec6d69cf680a584916d94e2bd5a9879c77122
test(medicationlist.test.tsx): improve test coverage fixes
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/medications/MedicationsList.test.tsx", "new_path": "src/__tests__/patients/medications/MedicationsList.test.tsx", "diff": "-import { render, screen } from '@testing-library/react'\n+import { render, screen, waitFor, within } from '@testi...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(medicationlist.test.tsx): improve test coverage fixes #206
288,257
04.01.2021 01:37:22
-46,800
63e7bb4a458566f16de381910aa060622af084f7
test(appointmentslist.test.tsx): update table test to use getByRole
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/appointments/AppointmentsList.test.tsx", "new_path": "src/__tests__/patients/appointments/AppointmentsList.test.tsx", "diff": "@@ -61,18 +61,17 @@ const setup = (patient = expectedPatient, appointments = expectedAppointments) =\ndescribe...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(appointmentslist.test.tsx): update table test to use getByRole
288,257
04.01.2021 02:07:20
-46,800
f18900b2cfc62a4d2eb5e4ea65f5efc4034cbb13
test(viewallergy.test.tsx): remove act from file and add getbyrole
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/allergies/ViewAllergy.test.tsx", "new_path": "src/__tests__/patients/allergies/ViewAllergy.test.tsx", "diff": "-import { render, screen } from '@testing-library/react'\n+import { render, screen, waitFor } from '@testing-library/react'\ni...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(viewallergy.test.tsx): remove act from file and add getbyrole
288,400
03.01.2021 20:27:47
-3,600
cb477358c5173f3d7530696bc3fd4cd7089f741d
fix(test): check ViewIncidents expected data
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/list/ViewIncidents.test.tsx", "new_path": "src/__tests__/incidents/list/ViewIncidents.test.tsx", "diff": "-import { render, screen } from '@testing-library/react'\n+import { render, screen, within } from '@testing-library/react'\nimport...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): check ViewIncidents expected data
288,310
03.01.2021 14:20:01
21,600
8a88313afd747785faa12a709f0ca40c35508892
Add aria-label to make form role available
[ { "change_type": "MODIFY", "old_path": "src/incidents/report/ReportIncident.tsx", "new_path": "src/incidents/report/ReportIncident.tsx", "diff": "@@ -64,7 +64,7 @@ const ReportIncident = () => {\n}\nreturn (\n- <form>\n+ <form aria-label=\"Report Incident form\">\n<Row>\n<Column md={6}>\n<DateTimePi...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Add aria-label to make form role available
288,310
03.01.2021 14:21:07
21,600
5b8d39c34d94fecf171deffac002309ee5b81261
Refactored to follow RTL setup convention, improved /incidents/new test queries
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/Incidents.test.tsx", "new_path": "src/__tests__/incidents/Incidents.test.tsx", "diff": "@@ -31,28 +31,27 @@ describe('Incidents', () => {\ncomponents: { sidebarCollapsed: false },\n} as any)\n- // eslint-disable-next-line react/prop-typ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Refactored to follow RTL setup convention, improved /incidents/new test queries
288,310
03.01.2021 15:21:11
21,600
afee1a28242b0b2e9b387428c27b5857fc7219b6
Added name to getByRole query
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/Incidents.test.tsx", "new_path": "src/__tests__/incidents/Incidents.test.tsx", "diff": "@@ -46,7 +46,7 @@ describe('Incidents', () => {\ndescribe('/incidents/new', () => {\nit('The new incident screen when /incidents/new is accessed', (...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Added name to getByRole query
288,310
03.01.2021 17:56:55
21,600
db92fcb1b9c9492019bfb2e134de882367c1af68
Refactored setup function
[ { "change_type": "MODIFY", "old_path": "src/__tests__/imagings/search/ImagingRequestTable.test.tsx", "new_path": "src/__tests__/imagings/search/ImagingRequestTable.test.tsx", "diff": "-import { render as rtlRender, screen } from '@testing-library/react'\n+import { render, screen } from '@testing-lib...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Refactored setup function
288,239
04.01.2021 11:17:08
-39,600
fd539b9c20b041e6203c7e280ffd47257bb22487
fix(test): add visit modal should check fields are disabled
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/visits/ViewVisit.test.tsx", "new_path": "src/__tests__/patients/visits/ViewVisit.test.tsx", "diff": "@@ -67,12 +67,18 @@ describe('View Visit', () => {\nexpect(startDateTimePicker).toHaveDisplayValue(\nformat(new Date(visit.startDateTime...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): add visit modal should check fields are disabled
288,310
03.01.2021 23:55:28
21,600
d4d8e964628aa7b8c1eeaf7f5152edec6fb978a8
fix(test): fix non-null assertion check warning
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/allergies/ViewAllergy.test.tsx", "new_path": "src/__tests__/patients/allergies/ViewAllergy.test.tsx", "diff": "@@ -5,6 +5,7 @@ import { Route, Router } from 'react-router-dom'\nimport ViewAllergy from '../../../patients/allergies/ViewAll...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): fix non-null assertion check warning
288,310
04.01.2021 02:35:24
21,600
ed61bcfac250adea76da56174dc138aa8fcaad0c
test(ViewIncident.test.tsx): remove redundant breadcrumbs component test
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/view/ViewIncident.test.tsx", "new_path": "src/__tests__/incidents/view/ViewIncident.test.tsx", "diff": "@@ -53,13 +53,13 @@ const setup = (permissions: any[] | undefined, id: string | undefined) => {\nreturn { ...renderResults, history ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(ViewIncident.test.tsx): remove redundant breadcrumbs component test
288,310
04.01.2021 02:36:36
21,600
99a075269ab3b099276f5b06f966e5eff66fafa2
actually remove, not just comment out
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/view/ViewIncident.test.tsx", "new_path": "src/__tests__/incidents/view/ViewIncident.test.tsx", "diff": "@@ -53,14 +53,6 @@ const setup = (permissions: any[] | undefined, id: string | undefined) => {\nreturn { ...renderResults, history }...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
actually remove, not just comment out
288,272
04.01.2021 22:59:36
-7,200
cde4a395a7e2cca7e92ba9e4678bf1530988330a
Remove querySelector from ViewApplointments
[ { "change_type": "MODIFY", "old_path": "src/__tests__/scheduling/appointments/ViewAppointments.test.tsx", "new_path": "src/__tests__/scheduling/appointments/ViewAppointments.test.tsx", "diff": "@@ -66,7 +66,7 @@ describe('ViewAppointments', () => {\n})\nit('should render a calendar with the proper e...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Remove querySelector from ViewApplointments
288,288
05.01.2021 19:04:15
-3,600
3add6f6c203db0de902c20c35bd9edf20cced70b
test(incidents): improve assertions & render
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/Incidents.test.tsx", "new_path": "src/__tests__/incidents/Incidents.test.tsx", "diff": "-import { render, screen, waitFor } from '@testing-library/react'\n-import React from 'react'\n+import { render as rtlRender, screen, waitForElement...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(incidents): improve assertions & render
288,267
06.01.2021 14:58:09
-7,200
1171abe9cce665e4ff354802c0f65276bdcd67b4
Update CONTRIBUTING.md Correct the couchdb cleanup script reference
[ { "change_type": "MODIFY", "old_path": ".github/CONTRIBUTING.md", "new_path": ".github/CONTRIBUTING.md", "diff": "@@ -25,7 +25,7 @@ This should launch a new CouchDB instance on `http://localhost:5984`, create sys\nGo to `http://localhost:5984/_utils` in your browser to view Fauxton and perform admin...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Update CONTRIBUTING.md Correct the couchdb cleanup script reference
288,239
07.01.2021 18:34:40
-39,600
c06b426b1aa105c07c38cd3d85152d68045aea6e
fix(test): report incident
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/report/ReportIncident.test.tsx", "new_path": "src/__tests__/incidents/report/ReportIncident.test.tsx", "diff": "@@ -145,23 +145,25 @@ describe('Report Incident', () => {\nconst catInput = await screen.findByPlaceholderText(/incidents\\....
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): report incident
288,239
07.01.2021 18:35:12
-39,600
3862c6e6e3caa13c9521df8cbeb79aff38f84374
fix(test): navbar
[ { "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 { render, screen } from '@testing-library/react'\nimport userEvent from '@testing-library/user-event'\nimport { creat...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): navbar
288,239
07.01.2021 18:35:26
-39,600
9940f7262bd1d09c8b9941cc01faafee2f5f7528
fix(test): sidebar
[ { "change_type": "MODIFY", "old_path": "src/__tests__/shared/components/Sidebar.test.tsx", "new_path": "src/__tests__/shared/components/Sidebar.test.tsx", "diff": "@@ -15,33 +15,7 @@ const mockStore = createMockStore<RootState, any>([thunk])\ndescribe('Sidebar', () => {\nlet history = createMemoryHi...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): sidebar
288,288
07.01.2021 17:59:22
-3,600
e9ee1f89f60e5eb2e6c1b73f03afedddcf98c4c9
test(report-incident): improvements Remove comments that are not needed. I tried using `toBeInvalid`. but it does not work, probably why it was previously commented out. Update the way we render the component. Removed an unnecessary `async` in the last test suite.
[ { "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 { render, screen } from '@testing-library/react'\n+import { render as rtlRender, s...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(report-incident): improvements Remove comments that are not needed. I tried using `toBeInvalid`. but it does not work, probably why it was previously commented out. Update the way we render the component. Removed an unnecessary `async` in the last test suite.
288,288
07.01.2021 18:26:20
-3,600
76f52805b2d6a6d22eeb3918f2be081fd77c3cff
test(view-lab): improvements Update the way we render. Update the way we query for loading not to be in the document.
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/ViewLab.test.tsx", "new_path": "src/__tests__/labs/ViewLab.test.tsx", "diff": "-import { render, screen, waitFor } from '@testing-library/react'\n+import {\n+ render as rtlRender,\n+ screen,\n+ waitFor,\n+ waitForElementToBeRemoved,\n+} from...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(view-lab): improvements Update the way we render. Update the way we query for loading not to be in the document.
288,288
07.01.2021 18:39:26
-3,600
476378036f3b6590b700cd5b2dfc52ec25007063
test(medication-request-table): improvements
[ { "change_type": "MODIFY", "old_path": "src/__tests__/medications/search/MedicationRequestTable.test.tsx", "new_path": "src/__tests__/medications/search/MedicationRequestTable.test.tsx", "diff": "-import { render, screen, waitFor } from '@testing-library/react'\n+import { render as rtlRender, screen...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(medication-request-table): improvements
288,288
07.01.2021 19:11:54
-3,600
386574b79969cab4d60fa50955006c27f6c6d47b
fixup! redo changes
[ { "change_type": "MODIFY", "old_path": "src/__tests__/medications/search/MedicationRequestTable.test.tsx", "new_path": "src/__tests__/medications/search/MedicationRequestTable.test.tsx", "diff": "-import { render as rtlRender, screen, waitFor } from '@testing-library/react'\n+import { render, screen...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fixup! redo changes
288,272
07.01.2021 20:29:14
-7,200
d736383b08474438a9e07e4737eacfaf94cc5191
Removes render setup
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/search/PatientSearchInput.test.tsx", "new_path": "src/__tests__/patients/search/PatientSearchInput.test.tsx", "diff": "-import { render as rtlRender, screen, act } from '@testing-library/react'\n+import { render, screen, act } from '@tes...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Removes render setup
288,272
07.01.2021 20:53:45
-7,200
6ba9e6a784db81991a705051078582eb1a172799
Replace render with setup
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/search/ViewPatientsTable.test.tsx", "new_path": "src/__tests__/patients/search/ViewPatientsTable.test.tsx", "diff": "-import {\n- render as rtlRender,\n- screen,\n- waitFor,\n- waitForElementToBeRemoved,\n-} from '@testing-library/react'...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Replace render with setup
288,239
08.01.2021 09:21:47
-39,600
f12b4dbb02bd638fbb75b83b307455dc1f50d0a9
fix(test): can create care goal
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-goals/AddCareGoalModal.test.tsx", "new_path": "src/__tests__/patients/care-goals/AddCareGoalModal.test.tsx", "diff": "-import { render, screen, waitFor } from '@testing-library/react'\n-import userEvent from '@testing-library/user-e...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): can create care goal
288,239
08.01.2021 10:55:48
-39,600
a9acd72d9278aad68f75deaa84973453c23408f8
fix(test): better wait for assertion
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-goals/CareGoalTab.test.tsx", "new_path": "src/__tests__/patients/care-goals/CareGoalTab.test.tsx", "diff": "@@ -106,7 +106,9 @@ describe('Care Goals Tab', () => {\nuserEvent.click(within(modal).getByRole('button', { name: /patient.c...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): better wait for assertion
288,239
08.01.2021 13:17:04
-39,600
3115437f622237c94783aeacb79543d7fac75199
fix(test): increase waitFor timeout
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-goals/CareGoalTab.test.tsx", "new_path": "src/__tests__/patients/care-goals/CareGoalTab.test.tsx", "diff": "@@ -108,6 +108,8 @@ describe('Care Goals Tab', () => {\nawait waitFor(() => {\nexpect(screen.queryByRole('dialog')).not.toBe...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): increase waitFor timeout
288,239
08.01.2021 13:28:05
-39,600
5e4eba4bb72232d667d7c63965b3db85ed8ec142
fix(test): linting
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-goals/CareGoalTab.test.tsx", "new_path": "src/__tests__/patients/care-goals/CareGoalTab.test.tsx", "diff": "@@ -106,11 +106,14 @@ describe('Care Goals Tab', () => {\nuserEvent.click(within(modal).getByRole('button', { name: /patient...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): linting
288,239
08.01.2021 15:27:59
-39,600
4cf0e7689d8d3d0b7c70510c427ae5c01feaea53
chore: use jest config instead of setup tests
[ { "change_type": "MODIFY", "old_path": "package.json", "new_path": "package.json", "diff": "\"npm run test:ci\",\n\"git add .\"\n]\n+ },\n+ \"jest\": {\n+ \"restoreMocks\": true\n}\n}\n" }, { "change_type": "MODIFY", "old_path": "src/__tests__/labs/hooks/useCancelLab.test.ts", "new_p...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
chore: use jest config instead of setup tests
288,310
07.01.2021 23:59:49
21,600
31c2b1e756b9174347231b16e9b007e8ed41a899
test: improve labs/Labs.test.tsx
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/Labs.test.tsx", "new_path": "src/__tests__/labs/Labs.test.tsx", "diff": "-import { render, screen, waitFor } from '@testing-library/react'\n-import { createMemoryHistory } from 'history'\n+import { render, screen } from '@testing-library/rea...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: improve labs/Labs.test.tsx
288,310
08.01.2021 01:56:09
21,600
a1b4eb2fc1b78e639a6f82d5ce5972fb7e452eb6
test: improve labs/ViewLab.test~
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/ViewLab.test.tsx", "new_path": "src/__tests__/labs/ViewLab.test.tsx", "diff": "-import {\n- render as rtlRender,\n- screen,\n- waitFor,\n- waitForElementToBeRemoved,\n-} from '@testing-library/react'\n+import { Toaster } from '@hospitalrun/c...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: improve labs/ViewLab.test~
288,345
08.01.2021 16:29:12
-28,800
804004c3df5726d86413a771a51d96a2918b689f
fix(userequestimaging.tsx, newimagingrequest.tsx): imaging table requestedBy show current usr requestedBy's current user show's 'test', not actual log in user, pass in logged in user from redux store to useRequestImaging hook fix
[ { "change_type": "MODIFY", "old_path": "src/imagings/hooks/useRequestImaging.tsx", "new_path": "src/imagings/hooks/useRequestImaging.tsx", "diff": "@@ -14,7 +14,8 @@ export interface ImagingRequest {\ntype: string\n}\n-async function requestImaging(request: ImagingRequest): Promise<void> {\n+functio...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(userequestimaging.tsx, newimagingrequest.tsx): imaging table requestedBy show current usr requestedBy's current user show's 'test', not actual log in user, pass in logged in user from redux store to useRequestImaging hook fix #2540
288,310
08.01.2021 03:00:49
21,600
8782d240387bc821027a144f118d5fd88d97a0ef
test: improve labs/ViewLabs.test
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/ViewLabs.test.tsx", "new_path": "src/__tests__/labs/ViewLabs.test.tsx", "diff": "@@ -41,22 +41,21 @@ const setup = (permissions: Permissions[] = []) => {\n},\n} as any)\n- // eslint-disable-next-line react/prop-types\n- const Wrapper: React....
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: improve labs/ViewLabs.test
288,310
08.01.2021 10:32:39
21,600
118d285633c9e388a5bdc8534fb28ede507b213d
test: search functionality test
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/ViewLabs.test.tsx", "new_path": "src/__tests__/labs/ViewLabs.test.tsx", "diff": "@@ -134,25 +134,21 @@ describe('View Labs', () => {\nstatus: 'requested',\nrequestedOn: '2020-03-30T04:43:20.102Z',\n} as Lab\n+ const expectedSearchText = 'ano...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: search functionality test
288,239
09.01.2021 07:34:51
-39,600
e81e9592d0e3508e201a69037740bf85368a36a7
fix(test): use dashboard + url to check
[ { "change_type": "MODIFY", "old_path": "src/__tests__/HospitalRun.test.tsx", "new_path": "src/__tests__/HospitalRun.test.tsx", "diff": "@@ -40,14 +40,13 @@ describe('HospitalRun', () => {\n</Provider>,\n)\n- return { ...results, store: store as any }\n+ return { ...results, store }\n}\ndescribe('rou...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): use dashboard + url to check
288,239
09.01.2021 07:57:10
-39,600
86122a941269b3726804ac2735f7a55584bfe813
fix(test): replace spinner and snapshots with better user assertions
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/Incidents.test.tsx", "new_path": "src/__tests__/incidents/Incidents.test.tsx", "diff": "-import { render as rtlRender, screen, waitForElementToBeRemoved } from '@testing-library/react'\n-import React, { ReactNode } from 'react'\n+import...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): replace spinner and snapshots with better user assertions
288,239
09.01.2021 08:03:02
-39,600
fc0f30801766a35b68f044ce2cca2d148c9275d1
fix(test): consistent it instead of test
[ { "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 { render, screen } from '@testing-library/react'\nimport userEvent from '@testing-l...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): consistent it instead of test
288,239
09.01.2021 08:16:50
-39,600
672776479da42a9058c7d9fe427e2c8c31774264
fix(test): more descriptive test titles + test cleanup
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/view/ViewIncident.test.tsx", "new_path": "src/__tests__/incidents/view/ViewIncident.test.tsx", "diff": "@@ -8,17 +8,16 @@ import thunk from 'redux-thunk'\nimport ViewIncident from '../../../incidents/view/ViewIncident'\nimport * as brea...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(test): more descriptive test titles + test cleanup
288,257
09.01.2021 14:04:44
-46,800
a2e644b7b355190284ab6c9c08894c6fafa82a44
test(viewincidentdetails.test.tsx): add back deleted tests using RTL fixes
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/view/ViewIncidentDetails.test.tsx", "new_path": "src/__tests__/incidents/view/ViewIncidentDetails.test.tsx", "diff": "@@ -13,6 +13,7 @@ import Permissions from '../../../shared/model/Permissions'\ndescribe('View Incident Details', () =>...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(viewincidentdetails.test.tsx): add back deleted tests using RTL fixes #250
288,257
09.01.2021 16:10:08
-46,800
e707c77288ab004046fc592e32c3ccf95228a241
test(viewincidentdetails.test.tsx): finish improving test descriptions and tests Fixes
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/view/ViewIncidentDetails.test.tsx", "new_path": "src/__tests__/incidents/view/ViewIncidentDetails.test.tsx", "diff": "@@ -23,6 +23,7 @@ describe('View Incident Details', () => {\ndepartment: 'some department',\ndescription: 'some descri...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(viewincidentdetails.test.tsx): finish improving test descriptions and tests Fixes #250
288,310
08.01.2021 21:44:24
21,600
d7659bc5089d5ef44f857fa5f6fd9a0fa0327673
feat: add testid's to NewMedicationRequest fields
[ { "change_type": "MODIFY", "old_path": "src/medications/requests/NewMedicationRequest.tsx", "new_path": "src/medications/requests/NewMedicationRequest.tsx", "diff": "@@ -147,7 +147,7 @@ const NewMedicationRequest = () => {\nvalue={newMedicationRequest.medication}\nonChange={onMedicationChange}\n/>\n...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat: add testid's to NewMedicationRequest fields
288,310
08.01.2021 21:44:56
21,600
40df690accba036392a050247314b90ed555e19f
test: improve NewMedicationRequest test
[ { "change_type": "MODIFY", "old_path": "src/__tests__/medications/requests/NewMedicationRequest.test.tsx", "new_path": "src/__tests__/medications/requests/NewMedicationRequest.test.tsx", "diff": "-import { render, screen } from '@testing-library/react'\n+import { render, screen, within } from '@test...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: improve NewMedicationRequest test
288,310
08.01.2021 21:56:06
21,600
13dea3e74c8fd619f16b3f3241e4d5eeaeeaa572
test: remove act import
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/ViewLabs.test.tsx", "new_path": "src/__tests__/labs/ViewLabs.test.tsx", "diff": "-import { act, render, screen, waitFor } from '@testing-library/react'\n+import { render, screen, waitFor } from '@testing-library/react'\nimport userEvent from...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: remove act import
288,257
09.01.2021 21:39:19
-46,800
6835c6e8fc530861d06a8236f70358f9bb3180a0
test(improve test descriptions): improve Test descriptions
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/report/ReportIncident.test.tsx", "new_path": "src/__tests__/incidents/report/ReportIncident.test.tsx", "diff": "@@ -57,18 +57,18 @@ describe('Report Incident', () => {\n</ButtonBarProvider.ButtonBarProvider>,\n)\n}\n- test('type into de...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(improve test descriptions): improve Test descriptions
288,257
10.01.2021 14:36:37
-46,800
128a9ff614c0810543f53c1df05c5814be37dffc
test(allergieslist.test): update alert test re
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/allergies/AllergiesList.test.tsx", "new_path": "src/__tests__/patients/allergies/AllergiesList.test.tsx", "diff": "@@ -36,8 +36,8 @@ describe('Allergies list', () => {\nit('should display a warning when no allergies are present', async (...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(allergieslist.test): update alert test re #239
288,310
09.01.2021 23:25:36
21,600
99326ffe823a3e4cb0b31de3810e431c2cd090d4
test: improve queries, remove unused mocks
[ { "change_type": "MODIFY", "old_path": "src/__tests__/medications/Medications.test.tsx", "new_path": "src/__tests__/medications/Medications.test.tsx", "diff": "-import { render } from '@testing-library/react'\n+import { render, screen } from '@testing-library/react'\nimport React from 'react'\nimpor...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: improve queries, remove unused mocks
288,310
09.01.2021 23:57:54
21,600
70a1bc0e38d79021d7f573aa47bb44edc2f62d9b
test: readded mocks
[ { "change_type": "MODIFY", "old_path": "src/__tests__/medications/Medications.test.tsx", "new_path": "src/__tests__/medications/Medications.test.tsx", "diff": "@@ -7,7 +7,10 @@ import thunk from 'redux-thunk'\nimport Medications from '../../medications/Medications'\nimport { TitleProvider } from '.....
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: readded mocks
288,310
10.01.2021 00:27:16
21,600
8722ac7bcbd212aff2eb946e255e45ae92cdc92d
test: refactored setup function
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/allergies/Allergies.test.tsx", "new_path": "src/__tests__/patients/allergies/Allergies.test.tsx", "diff": "-import { render as rtlRender, screen, within, waitFor } from '@testing-library/react'\n+import { render, screen, within, waitFor ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: refactored setup function
288,310
10.01.2021 00:29:40
21,600
06e143c29e43dde0f94796fd0b86bda07f04ed66
test: refactor setup function, update queries
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/allergies/AllergiesList.test.tsx", "new_path": "src/__tests__/patients/allergies/AllergiesList.test.tsx", "diff": "-import { act, render, screen } from '@testing-library/react'\n+import { render, screen } from '@testing-library/react'\ni...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: refactor setup function, update queries
288,310
10.01.2021 01:02:38
21,600
78f0566ec20fb47ac27ae3ccbb68013698100fbf
test: add modal open/close test to Allergies
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/allergies/Allergies.test.tsx", "new_path": "src/__tests__/patients/allergies/Allergies.test.tsx", "diff": "-import { render, screen, within, waitFor } from '@testing-library/react'\n+import { render, screen, within, waitFor, waitForEleme...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: add modal open/close test to Allergies
288,310
10.01.2021 01:07:45
21,600
8a845dcb88a2e1c81c64014b0b67d39a22b8008f
test: remove redundant close and save tests => covered in patients/allergies/Allergies
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/allergies/NewAllergyModal.test.tsx", "new_path": "src/__tests__/patients/allergies/NewAllergyModal.test.tsx", "diff": "import { render, screen } from '@testing-library/react'\nimport userEvent from '@testing-library/user-event'\nimport R...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: remove redundant close and save tests => covered in patients/allergies/Allergies
288,310
10.01.2021 01:24:48
21,600
7898ddfb992f6b81d2169f8f0ba85f161e4e978c
test: add waitforelementtoberemoved
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/allergies/Allergies.test.tsx", "new_path": "src/__tests__/patients/allergies/Allergies.test.tsx", "diff": "@@ -98,21 +98,20 @@ describe('Allergies', () => {\nname: /patient\\.allergies\\.new/i,\n}),\n)\n-\nuserEvent.type(\nscreen.getByRo...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: add waitforelementtoberemoved
288,298
10.01.2021 10:49:08
21,600
e72e76fc31f2e1a429806f7a6a067c3fc86320e4
Remove eslint console ignores
[ { "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 { render, screen } from '@testing-library/react'\nimport userEvent from '@testing-l...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Remove eslint console ignores
288,298
10.01.2021 11:09:15
21,600
051048ed15808065a661a0cd1b56ace3b55ac78f
Naming convention improved per Jacks suggestion
[ { "change_type": "MODIFY", "old_path": "src/__tests__/incidents/report/ReportIncident.test.tsx", "new_path": "src/__tests__/incidents/report/ReportIncident.test.tsx", "diff": "@@ -69,49 +69,53 @@ describe('Report Incident', () => {\ntest('renders a category form element that allows user input', asyn...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Naming convention improved per Jacks suggestion
288,298
10.01.2021 14:29:08
21,600
35af11a0751ba034bd792e6859836ad8616555c2
Fix ViewLabs.test.tsx
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/ViewLabs.test.tsx", "new_path": "src/__tests__/labs/ViewLabs.test.tsx", "diff": "@@ -143,12 +143,11 @@ describe('View Labs', () => {\nexpect(await screen.findByRole('cell', { name: expectedLab.code })).toBeInTheDocument()\nuserEvent.type(scr...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Fix ViewLabs.test.tsx
288,298
10.01.2021 14:53:30
21,600
f8242482bc18c5c0becb78c2cc3bca52d2bbdb6f
Removed negative confirmation
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/ViewLabs.test.tsx", "new_path": "src/__tests__/labs/ViewLabs.test.tsx", "diff": "@@ -125,7 +125,7 @@ describe('View Labs', () => {\n})\ndescribe('search functionality', () => {\n- it('should search for labs after the search text has not chan...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Removed negative confirmation
288,310
10.01.2021 20:29:26
21,600
0ffa12f8e3d1e56561abaee4cdc0dc52d8d542e8
test: refactor to check for title in /appointments
[ { "change_type": "MODIFY", "old_path": "src/__tests__/HospitalRun.test.tsx", "new_path": "src/__tests__/HospitalRun.test.tsx", "diff": "@@ -49,7 +49,7 @@ describe('HospitalRun', () => {\nconst { store } = setup('/appointments', [Permissions.ReadAppointments])\nexpect(\n- screen.getByRole('button', {...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: refactor to check for title in /appointments
288,298
10.01.2021 20:52:19
21,600
7c884ab58bab2b25fca93149546c2b37c982513b
Fixed ViewLabs Search functionality test
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/ViewLabs.test.tsx", "new_path": "src/__tests__/labs/ViewLabs.test.tsx", "diff": "@@ -30,7 +30,7 @@ const setup = (permissions: Permissions[] = []) => {\n} as Lab\njest.spyOn(LabRepository, 'findAll').mockResolvedValue([expectedLab])\n- jest....
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Fixed ViewLabs Search functionality test
288,257
11.01.2021 16:42:59
-46,800
4943047f96c3bc2a27b7e14b23b8a63a20044015
test(newimagingrequest.test): change test descriptions re PR review
[ { "change_type": "MODIFY", "old_path": "src/__tests__/imagings/requests/NewImagingRequest.test.tsx", "new_path": "src/__tests__/imagings/requests/NewImagingRequest.test.tsx", "diff": "@@ -47,7 +47,7 @@ describe('New Imaging Request', () => {\n}\ndescribe('form layout', () => {\n- it('Patient input f...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(newimagingrequest.test): change test descriptions re PR review
288,345
11.01.2021 11:53:52
-28,800
5dd6641ae2cb6c1acc99ac3ea03e90c460b73cf7
test(userequestimaging.test.tsx, newimagingrequest.test.tsx, user-slice.ts): update tests update tests for NewImagingRequest page and also export relevant interfaces from user-slice.ts fix
[ { "change_type": "MODIFY", "old_path": "src/__tests__/imagings/hooks/useRequestImaging.test.tsx", "new_path": "src/__tests__/imagings/hooks/useRequestImaging.test.tsx", "diff": "@@ -5,6 +5,7 @@ import { ImagingRequestError } from '../../../imagings/util/validate-imaging-req\nimport * as imagingReque...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(userequestimaging.test.tsx, newimagingrequest.test.tsx, user-slice.ts): update tests update tests for NewImagingRequest page and also export relevant interfaces from user-slice.ts fix #2540
288,310
10.01.2021 22:40:47
21,600
63499e5d975c6c62f86b31f4834709b387e08d82
test: correct expect based on test description
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/allergies/ViewAllergy.test.tsx", "new_path": "src/__tests__/patients/allergies/ViewAllergy.test.tsx", "diff": "@@ -34,7 +34,7 @@ describe('ViewAllergy', () => {\nawait waitFor(() => {\nexpect(\nscreen.getByRole('textbox', { name: /patien...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: correct expect based on test description
288,310
10.01.2021 23:11:03
21,600
e80383e1d1ea367f27e7c29446d6ecb06fd2a554
feat: add testids to inputs whose labels are not properly connected
[ { "change_type": "MODIFY", "old_path": "src/shared/components/input/DatePickerWithLabelFormGroup.tsx", "new_path": "src/shared/components/input/DatePickerWithLabelFormGroup.tsx", "diff": "@@ -27,7 +27,7 @@ const DatePickerWithLabelFormGroup = (props: Props) => {\n} = props\nconst id = `${name}DatePi...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat: add testids to inputs whose labels are not properly connected
288,310
10.01.2021 23:49:17
21,600
21487e5a32d36d4e16247e8bf64959b078726889
test: clean up format imports
[ { "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 { render, screen } from '@testing-library/react'\nimport userEvent from '@testing-library/user-event'\n-import { fo...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: clean up format imports
288,310
11.01.2021 00:07:23
21,600
7ac26551aada6c98140c03b3e78529f14cf5551d
test: refactor to remove now redundant testids
[ { "change_type": "MODIFY", "old_path": "src/__tests__/labs/requests/NewLabRequest.test.tsx", "new_path": "src/__tests__/labs/requests/NewLabRequest.test.tsx", "diff": "@@ -141,7 +141,7 @@ describe('New Lab Request', () => {\nconst { expectedVisits } = setup()\nconst patientTypeahead = screen.getByPl...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: refactor to remove now redundant testids
288,310
11.01.2021 00:13:50
21,600
337cdb70efb46ba58484d4df77f75982c6318f02
refactor: destructured lodash imports
[ { "change_type": "MODIFY", "old_path": "src/imagings/hooks/useRequestImaging.tsx", "new_path": "src/imagings/hooks/useRequestImaging.tsx", "diff": "-import { isEmpty } from 'lodash'\n+import isEmpty from 'lodash/isEmpty'\nimport { queryCache, useMutation } from 'react-query'\nimport ImagingRepositor...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor: destructured lodash imports
288,310
11.01.2021 03:18:07
21,600
aa7b639bd6fab8b1547b22e84af85c176055b333
test: refactor patient form queries
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/care-goals/CareGoalForm.test.tsx", "new_path": "src/__tests__/patients/care-goals/CareGoalForm.test.tsx", "diff": "-import { render, screen } from '@testing-library/react'\n+import { render, screen, within } from '@testing-library/react'...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: refactor patient form queries
288,310
11.01.2021 03:18:32
21,600
967e52c9589cf5e58fbd6f69dc96d155beb4a496
test: refactor requests queries
[ { "change_type": "MODIFY", "old_path": "src/__tests__/imagings/requests/NewImagingRequest.test.tsx", "new_path": "src/__tests__/imagings/requests/NewImagingRequest.test.tsx", "diff": "-import { render, screen } from '@testing-library/react'\n+import { render, screen, within } from '@testing-library/...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: refactor requests queries
288,257
12.01.2021 00:31:38
-46,800
9821b83261eb1f829caff4d4f5293d12dfbb71fe
test(noteslist.test): remove queryselector from test
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/notes/NotesList.test.tsx", "new_path": "src/__tests__/patients/notes/NotesList.test.tsx", "diff": "@@ -33,8 +33,13 @@ describe('Notes list', () => {\ntext: 'some name',\ndate: '1947-09-09T14:48:00.000Z',\n},\n+ {\n+ id: '457',\n+ text: '...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(noteslist.test): remove queryselector from test
288,257
12.01.2021 00:58:06
-46,800
402392cb93e79ed7f7a94af56fdf9645b92e6da5
test(viewpatient.test.tsx): improve test description remove queryselector
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/view/ViewPatient.test.tsx", "new_path": "src/__tests__/patients/view/ViewPatient.test.tsx", "diff": "@@ -83,20 +83,17 @@ describe('ViewPatient', () => {\n})\n})\n- it('should add a \"Edit Patient\" button to the button tool bar if has Wr...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(viewpatient.test.tsx): improve test description remove queryselector
288,310
11.01.2021 22:07:02
21,600
acafa59e101ee96f91057f825d3c1d12287a082e
test: refactor patient info queries
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/ContactInfo.test.tsx", "new_path": "src/__tests__/patients/ContactInfo.test.tsx", "diff": "-import { screen, render } from '@testing-library/react'\n+import { screen, render, within } from '@testing-library/react'\nimport userEvent from ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: refactor patient info queries
288,310
11.01.2021 22:59:47
21,600
21700c5a83e7a3bc30f5c73ceb6e1942bf65777f
test: refactor setup and correct test
[ { "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 { render as rtlRender } from '@testing-library/react'\n+import { render, screen } from '@testing-library/react'\ni...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: refactor setup and correct test
288,310
11.01.2021 23:11:01
21,600
ac3efd20815c64819326d8b2f9cfaeed66d3eeb4
test: refactor setup and queries
[ { "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, fireEvent, waitFor } from '@testing-library/react'\n+import { screen, render, fireEvent, ...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: refactor setup and queries
288,310
11.01.2021 23:16:01
21,600
0b5535a193c634d4525f50654e05d724780813a6
test: refactor setup to remove wrapper
[ { "change_type": "MODIFY", "old_path": "src/__tests__/medications/ViewMedication.test.tsx", "new_path": "src/__tests__/medications/ViewMedication.test.tsx", "diff": "@@ -60,18 +60,19 @@ describe('View Medication', () => {\n},\n} as any)\n- const Wrapper: React.FC = ({ children }: any) => (\n+ return...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: refactor setup to remove wrapper
288,272
12.01.2021 23:01:21
-7,200
84aba16275160c2dbfac8c08e3ddfe904318e37f
Copied tests from AddRelatedPersonModal.test.tsx to RelatedPersonsTab.test.tsx
[ { "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 { render, screen, waitForElementToBeRemoved } from '@testing-library/react'\n+import { render,...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Copied tests from AddRelatedPersonModal.test.tsx to RelatedPersonsTab.test.tsx
288,345
13.01.2021 10:14:54
-28,800
2c18c5d7e5fd0d2181a1fd224f8ffdb77e8ff30d
fix(userequestimaging.tsx, imaging.ts, imagingrequesttable.tsx): save user.id but show user.fullName for requestedBy, save both user.id but also full name, and show user's fullname in table fix
[ { "change_type": "MODIFY", "old_path": "src/__tests__/imagings/hooks/useRequestImaging.test.tsx", "new_path": "src/__tests__/imagings/hooks/useRequestImaging.test.tsx", "diff": "@@ -16,6 +16,7 @@ describe('useReportIncident', () => {\nconst user = {\nfullName: 'test',\n+ id: 'test-hospitalrun',\nper...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix(userequestimaging.tsx, imaging.ts, imagingrequesttable.tsx): save user.id but show user.fullName for requestedBy, save both user.id but also full name, and show user's fullname in table fix #2540
288,272
13.01.2021 23:15:07
-7,200
45451f31431649bcea80616d01dcd47f70b46d4c
Deletes AddRelatedPersonModal.test.tsx. Cleanup and improve integration tests.
[ { "change_type": "DELETE", "old_path": "src/__tests__/patients/related-persons/AddRelatedPersonModal.test.tsx", "new_path": null, "diff": "-import { act, render, screen } from '@testing-library/react'\n-import userEvent from '@testing-library/user-event'\n-import React from 'react'\n-\n-import AddRe...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Deletes AddRelatedPersonModal.test.tsx. Cleanup and improve integration tests.
288,298
13.01.2021 21:40:11
21,600
0182da310feb08b4c6ffca8e1079e7d89c2603e2
Fixed the change that utilized the requestedByFullName for defining the requestedBy from the custom hook
[ { "change_type": "MODIFY", "old_path": "src/__tests__/imagings/search/ImagingRequestTable.test.tsx", "new_path": "src/__tests__/imagings/search/ImagingRequestTable.test.tsx", "diff": "@@ -13,10 +13,12 @@ describe('Imaging Request Table', () => {\nid: '1234',\ntype: 'imaging type',\npatient: 'patient...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
Fixed the change that utilized the requestedByFullName for defining the requestedBy from the custom hook
288,310
13.01.2021 23:20:31
21,600
7fb20b0c0fd052e5a4ae636ddbc2bf42e963d1e0
test: add form labels and refactor queries
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/visits/ViewVisit.test.tsx", "new_path": "src/__tests__/patients/visits/ViewVisit.test.tsx", "diff": "-import { screen, render, waitFor } from '@testing-library/react'\n+import { screen, render, waitFor, within } from '@testing-library/re...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: add form labels and refactor queries
288,310
13.01.2021 23:21:26
21,600
758daba65822f5a46494bff024be7a517d80c599
test: refactor sidebar active link queries
[ { "change_type": "MODIFY", "old_path": "src/__tests__/shared/components/Sidebar.test.tsx", "new_path": "src/__tests__/shared/components/Sidebar.test.tsx", "diff": "@@ -50,10 +50,8 @@ describe('Sidebar', () => {\n})\nit('should be active when the current path is /', () => {\n- const { container } = s...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: refactor sidebar active link queries
288,310
13.01.2021 23:21:49
21,600
4860ebbd106ae0e71182f5b39736add2a5e17dfa
test: refactor to remove querySelector calls
[ { "change_type": "MODIFY", "old_path": "src/__tests__/medications/ViewMedication.test.tsx", "new_path": "src/__tests__/medications/ViewMedication.test.tsx", "diff": "@@ -116,11 +116,11 @@ describe('View Medication', () => {\n})\nit('should not display the canceled date if the medication is not cance...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: refactor to remove querySelector calls
288,310
13.01.2021 23:28:31
21,600
6f3567cba7721632956a1b81388327c01a69fa59
test: removed unused imports
[ { "change_type": "MODIFY", "old_path": "src/__tests__/medications/search/MedicationRequestTable.test.tsx", "new_path": "src/__tests__/medications/search/MedicationRequestTable.test.tsx", "diff": "-import { render, screen, waitFor } from '@testing-library/react'\n+import { render, screen } from '@tes...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: removed unused imports
288,310
14.01.2021 00:15:56
21,600
1ea596f8b581b618d457c4d80bfee8f03213e243
test: add back more semantic spinner queries
[ { "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 { render, screen, waitFor, within } from '@testing-library/react'\n+import { render, screen, waitFor, waitForElement...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test: add back more semantic spinner queries
288,375
20.01.2021 22:56:20
-28,800
b2a255f84a4fbf3c026b3923152a13e2cf6bbbbd
fix: new lab request sometimes crash
[ { "change_type": "MODIFY", "old_path": "src/labs/requests/NewLabRequest.tsx", "new_path": "src/labs/requests/NewLabRequest.tsx", "diff": "@@ -51,7 +51,7 @@ const NewLabRequest = () => {\nconst onPatientChange = (patient: Patient) => {\nif (patient) {\n- const visits = patient.visits.map((v) => ({\n+...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix: new lab request sometimes crash
288,375
25.01.2021 22:09:32
-28,800
b0b73812e477d3e8a0080c5fcbb1dbef902e0d0d
fix: in New lab request make the visit field required
[ { "change_type": "MODIFY", "old_path": "src/labs/requests/NewLabRequest.tsx", "new_path": "src/labs/requests/NewLabRequest.tsx", "diff": "@@ -149,6 +149,7 @@ const NewLabRequest = () => {\n<SelectWithLabelFormGroup\nname=\"visit\"\nlabel={t('patient.visit')}\n+ isRequired\nisEditable={newLabRequest....
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
fix: in New lab request make the visit field required
288,234
09.02.2021 21:08:03
10,800
6bcfab90d76288cebd27367b467118e978aede14
refactor: return empty patient visits array instead of undefined
[ { "change_type": "MODIFY", "old_path": "src/patients/hooks/usePatientVisits.tsx", "new_path": "src/patients/hooks/usePatientVisits.tsx", "diff": "@@ -3,10 +3,11 @@ import { useQuery } from 'react-query'\nimport PatientRepository from '../../shared/db/PatientRepository'\nimport Visit from '../../shar...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
refactor: return empty patient visits array instead of undefined #2563
288,234
09.02.2021 21:13:36
10,800
31e3f45e0b0441a8c2ff535105ee226a1c4fedff
feat(visittable): add missing warning alert when if there are no visits
[ { "change_type": "MODIFY", "old_path": "src/patients/visits/VisitTable.tsx", "new_path": "src/patients/visits/VisitTable.tsx", "diff": "-import { Table } from '@hospitalrun/components'\n+import { Alert, Table } from '@hospitalrun/components'\nimport format from 'date-fns/format'\nimport React from '...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
feat(visittable): add missing warning alert when if there are no visits #2563
288,234
09.02.2021 21:16:28
10,800
d67db62838d2707455d1527aa639d858ddc0b169
test(visittable): add warning alert test
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/visits/VisitTable.test.tsx", "new_path": "src/__tests__/patients/visits/VisitTable.test.tsx", "diff": "@@ -25,8 +25,8 @@ const patient = {\nvisits: [visit],\n} as Patient\n-const setup = () => {\n- jest.spyOn(PatientRepository, 'find').m...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(visittable): add warning alert test #2563
288,234
09.02.2021 21:21:17
10,800
2795f442e996370862bc304e025b50f6a29c1aac
test(viewpatient): add missing visits tab test
[ { "change_type": "MODIFY", "old_path": "src/__tests__/patients/view/ViewPatient.test.tsx", "new_path": "src/__tests__/patients/view/ViewPatient.test.tsx", "diff": "@@ -293,4 +293,20 @@ describe('ViewPatient', () => {\nexpect(screen.getByText(/patient\\.careGoals\\.warning\\.noCareGoals/i)).toBeInThe...
TypeScript
MIT License
hospitalrun/hospitalrun-frontend
test(viewpatient): add missing visits tab test #2563