-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(website): switch from daisyui to shadcn (#569)
- Loading branch information
Showing
100 changed files
with
4,227 additions
and
2,569 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,5 @@ seed/ | |
dist/ | ||
.next/ | ||
*.hbs | ||
ui/src/react-daisyui/ | ||
ui/README.md | ||
ui/storybook-static/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,15 +38,17 @@ test('CreatePayments', async () => { | |
auth: { token: { email: '[email protected]' } }, | ||
}, | ||
); | ||
expect(result).toEqual('Set 2 payments to paid and created 2 payments for next month'); | ||
expect(result).toEqual( | ||
'Set status of 3 payments to paid and created 3 payments for next month. Set status to "former" for 0 recipients and status to active for 1 recipients.', | ||
); | ||
|
||
const recipientDocs = ( | ||
await firestoreAdmin | ||
.collection<Recipient>(RECIPIENT_FIRESTORE_PATH) | ||
.where('progr_status', '==', RecipientProgramStatus.Active) | ||
.get() | ||
).docs; | ||
expect(recipientDocs).toHaveLength(2); | ||
expect(recipientDocs).toHaveLength(3); | ||
|
||
for (const recipientDoc of recipientDocs) { | ||
const paymentDoc = await firestoreAdmin | ||
|
@@ -81,5 +83,7 @@ test('CreatePayments', async () => { | |
{ type: PaymentProcessTaskType.CreatePayments, timestamp: paymentDate.toSeconds() }, | ||
{ auth: { token: { email: '[email protected]' } } }, | ||
); | ||
expect(secondExecutionResult).toEqual('Set 0 payments to paid and created 0 payments for next month'); | ||
expect(secondExecutionResult).toEqual( | ||
'Set status of 0 payments to paid and created 0 payments for next month. Set status to "former" for 0 recipients and status to active for 0 recipients.', | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 0 additions & 50 deletions
50
functions/src/webhooks/admin/payment-process/tasks/UpdateRecipientsTask.test.ts
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
functions/src/webhooks/admin/payment-process/tasks/UpdateRecipientsTask.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.