Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix tests

Steven Tey4b3bc0934048
diff --git a/apps/web/tests/payouts/send-payout-reminder.test.ts b/apps/web/tests/payouts/send-payout-reminder.test.ts
index 67b37833b9..8573151d39 100644
--- a/apps/web/tests/payouts/send-payout-reminder.test.ts
+++ b/apps/web/tests/payouts/send-payout-reminder.test.ts
@@ -6,7 +6,6 @@ import { PayoutStatus, ProgramPayoutMode } from "@prisma/client";
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
const BATCH_SIZE = 500;
-const MIGRATION_PROGRAM_ID = "prog_1M1EYH84K0ZGRA70CEGB4VC72";
const NOW = new Date("2026-09-24T09:00:00.000Z");
const mocks = vi.hoisted(() => ({
@@ -210,10 +209,7 @@ function matchesProgramEnrollmentFilter(
},
) {
return filter.OR.some((clause) => {
- if (
- clause.program &&
- clause.program.payoutMode !== enrollment.payoutMode
- ) {
+ if (clause.program && clause.program.payoutMode !== enrollment.payoutMode) {
return false;
}
@@ -297,11 +293,6 @@ describe("sendPayoutReminder", () => {
patch: { programId: DEMO_PROGRAM_ID },
included: false,
},
- {
- label: "migration program",
- patch: { programId: MIGRATION_PROGRAM_ID },
- included: false,
- },
{
label: "payouts already connected",
patch: { payoutsEnabledAt: NOW },