Skip to content

Commit 4cff347

Browse files
committed
chore: remove dead code
1 parent ac49821 commit 4cff347

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

packages/updatePrescriptionStatus/tests/utils/testUtils.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff 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-
182160
export function createMockDataItem(overrides: Partial<PSUDataItem>): PSUDataItem {
183161
return {
184162
LastModified: "2023-01-02T00:00:00Z",

0 commit comments

Comments
 (0)