Skip to content

Commit 8974b3f

Browse files
committed
Devin fix
1 parent b2608f1 commit 8974b3f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apps/webapp/test/webhookErrorAlerts.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ type ErrorAlertPayload = {
2323
};
2424
};
2525

26-
let testChannelId: string;
27-
let testProjectId: string;
28-
let testOrganizationId: string;
26+
let testChannelId: string = "";
27+
let testProjectId: string = "";
28+
let testOrganizationId: string = "";
2929
let webhookServer: ReturnType<typeof createWebhookServer> | null = null;
3030

3131
interface WebhookCall {
@@ -74,8 +74,8 @@ function createMockErrorPayload(
7474
at processPayment (src/tasks/payment.ts:42:15)
7575
at Object.run (src/tasks/payment.ts:15:20)
7676
at TaskExecutor.execute (node_modules/@trigger.dev/core/dist/index.js:234:18)`,
77-
firstSeen: new Date().toISOString(),
78-
lastSeen: new Date().toISOString(),
77+
firstSeen: Date.now().toString(),
78+
lastSeen: Date.now().toString(),
7979
occurrenceCount: 42,
8080
...errorOverrides,
8181
};

0 commit comments

Comments
 (0)