Skip to content

Commit f116495

Browse files
removed unused performance and docker tests
1 parent 067f643 commit f116495

File tree

4 files changed

+3
-162
lines changed

4 files changed

+3
-162
lines changed

services/ehr-repo/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
"test": "npm run lint:fix && npm run test:unit",
1212
"test:unit": "jest \"src/(?!(.*\\integration.test\\.js))\" --setupFiles dotenv/config",
1313
"test:integration": "jest \"src/.*\\integration.test\\.js\" --detectOpenHandles --forceExit --setupFiles dotenv/config",
14-
"test:performance": "jest test/performance/*",
15-
"test:docker": "jest test/docker/*",
1614
"test:watch": "jest \"src/(?!(.*\\integration.test\\.js))\" --setupFiles dotenv/config --watch",
1715
"test:coverage": "jest src/ --maxWorkers=1 --coverage --detectOpenHandles --forceExit --setupFiles dotenv/config",
1816
"test:coverage-unit-test-only": "jest \"src/(?!(.*\\integration.test\\.js))\" --maxWorkers=1 --coverage --detectOpenHandles --forceExit --setupFiles dotenv/config",

services/ehr-repo/src/services/database/__tests__/ehr-conversation-repository.integration.test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ describe('ehr-conversation-repository', () => {
225225
// when
226226
await expect(() => getCurrentConversationIdForPatient(nhsNumber))
227227
// then
228-
.rejects.toThrowError(HealthRecordNotFoundError);
228+
.rejects.toThrow(HealthRecordNotFoundError);
229229
});
230230

231231
it('should throw an error when cannot find any health record', async () => {
@@ -235,7 +235,7 @@ describe('ehr-conversation-repository', () => {
235235
// when
236236
await expect(() => getCurrentConversationIdForPatient(nhsNumber))
237237
// then
238-
.rejects.toThrowError(HealthRecordNotFoundError);
238+
.rejects.toThrow(HealthRecordNotFoundError);
239239
});
240240
});
241241

@@ -247,7 +247,7 @@ describe('ehr-conversation-repository', () => {
247247
// when
248248
await expect(() => getMessageIdsForConversation(conversationId))
249249
// then
250-
.rejects.toThrowError(CoreNotFoundError);
250+
.rejects.toThrow(CoreNotFoundError);
251251
});
252252

253253
it('should return health record extract message id given a conversation id for a small health record', async () => {

services/ehr-repo/test/docker/health.test.js

Lines changed: 0 additions & 21 deletions
This file was deleted.

services/ehr-repo/test/performance/ehr-with-100s-small-fragments.test.js

Lines changed: 0 additions & 136 deletions
This file was deleted.

0 commit comments

Comments
 (0)