From b7211e63ca139e10aa3cde09f9142d676d7c5031 Mon Sep 17 00:00:00 2001 From: Stephen Hand Date: Thu, 2 Jan 2025 19:59:35 +0000 Subject: [PATCH] Fix test import --- .../account-scoped/src/hrm/populateHrmContactFormFromTask.ts | 2 +- .../tests/unit/hrm/populateHrmContactFormFromTask.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lambdas/account-scoped/src/hrm/populateHrmContactFormFromTask.ts b/lambdas/account-scoped/src/hrm/populateHrmContactFormFromTask.ts index 4ae96a6ff..a2112d0fa 100644 --- a/lambdas/account-scoped/src/hrm/populateHrmContactFormFromTask.ts +++ b/lambdas/account-scoped/src/hrm/populateHrmContactFormFromTask.ts @@ -81,7 +81,7 @@ type ChannelTypes = | 'line' | 'modica'; -const callTypes = { +export const callTypes = { child: 'Child calling about self', caller: 'Someone calling about a child', }; diff --git a/lambdas/account-scoped/tests/unit/hrm/populateHrmContactFormFromTask.test.ts b/lambdas/account-scoped/tests/unit/hrm/populateHrmContactFormFromTask.test.ts index de8e529d9..54ab8a805 100644 --- a/lambdas/account-scoped/tests/unit/hrm/populateHrmContactFormFromTask.test.ts +++ b/lambdas/account-scoped/tests/unit/hrm/populateHrmContactFormFromTask.test.ts @@ -25,7 +25,7 @@ import { import { BLANK_CONTACT } from './testContacts'; import { RecursivePartial } from '../RecursivePartial'; import each from 'jest-each'; -import { callTypes } from '../../../../../hrm-form-definitions'; +import { callTypes } from '../../../src/hrm/populateHrmContactFormFromTask'; type FormDefinitionSet = { childInformation: FormItemDefinition[];