mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 13:01:00 +00:00
1 parent
92ce699792
commit
cfbb57ab3e
1 file changed
+2
-3
@@ -50,9 +50,8 @@ vi.mock("@/lib/db-compat", () => ({
|
||||
const { POST: postBatch } = await import("@/app/api/workouts/batch/route");
|
||||
const { GET: listWorkouts } = await import("@/app/api/workouts/route");
|
||||
const { DELETE: deleteWorkout } = await import("@/app/api/workouts/[id]/route");
|
||||
const { buildManualWorkoutEntry, newManualWorkoutExternalId } = await import(
|
||||
"@/lib/workouts/manual-entry"
|
||||
);
|
||||
const { buildManualWorkoutEntry, newManualWorkoutExternalId } =
|
||||
await import("@/lib/workouts/manual-entry");
|
||||
|
||||
beforeEach(async () => {
|
||||
await truncateAllTables(getPrismaClient());
|
||||
|
||||
Reference in new issue
Block a user