File tree Expand file tree Collapse file tree
packages/updatePrescriptionStatus/tests/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,28 +157,6 @@ export function generateExpectedItems(itemCount: number = 1) {
157157 return { input : { TransactItems : items } }
158158}
159159
160- // Deprecated: use vi.hoisted() + vi.mock() in the consuming test file instead.
161- export function mockInternalDependency ( ) : never {
162- throw new Error (
163- "mockInternalDependency() is not supported with Vitest. " +
164- "Use vi.hoisted() + vi.mock() in the test file instead."
165- )
166- }
167-
168- export function mockDynamoDBClient ( ) : never {
169- throw new Error (
170- "mockDynamoDBClient() is not supported with Vitest. " +
171- "Use vi.hoisted() + vi.mock() in the test file instead."
172- )
173- }
174-
175- export function mockSQSClient ( ) : never {
176- throw new Error (
177- "mockSQSClient() is not supported with Vitest. " +
178- "Use vi.hoisted() + vi.mock() in the test file instead."
179- )
180- }
181-
182160export function createMockDataItem ( overrides : Partial < PSUDataItem > ) : PSUDataItem {
183161 return {
184162 LastModified : "2023-01-02T00:00:00Z" ,
You can’t perform that action at this time.
0 commit comments