Skip to content

Commit 0376fbb

Browse files
authored
Update test/helpers/contextUtils.test.js
1 parent d8793c0 commit 0376fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/helpers/contextUtils.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ describe('getPatientFromContext', () => {
2323
});
2424

2525
test('Should throw an error if there is no patient in context', async () => {
26-
await expect(getPatientFromContext(MOCK_PATIENT_MRN, {})).rejects.toThrow('Could not find a patient in context');
26+
await expect(getPatientFromContext(MOCK_PATIENT_MRN, {})).rejects.toThrow('Could not find a patient in context; ensure that a PatientExtractor is used earlier in your extraction configuration');
2727
});
2828
});

0 commit comments

Comments
 (0)