Skip to content

Commit

Permalink
added missing coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavangbhat committed Mar 5, 2024
1 parent 3d5295d commit fc6c42a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/tests/handlers/scheduledEventHandler.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
syncExternalAccounts,
syncIdle7dUsers,
syncIdleUsers,
syncNickNames,
Expand Down Expand Up @@ -114,6 +115,10 @@ describe('sync apis', () => {
await testSyncFunction(syncIdleUsers, 'discord-actions/group-idle', 'PUT');
});

it('should sync external accounts', async () => {
await testSyncFunction(syncExternalAccounts, 'external-accounts/users?action=discord-users-sync', 'POST');
});

it('should sync nicknames', async () => {
await testSyncFunction(syncNickNames, 'discord-actions/nicknames/sync?dev=true', 'POST');
});
Expand Down

0 comments on commit fc6c42a

Please sign in to comment.