Skip to content

Commit

Permalink
fix: Add new backfills to backfill index
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinszuchet committed Oct 21, 2024
1 parent 5fbd08c commit 3839e78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions api/src/logic/backfills/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ export { mergeSocialButterflyProgress } from './social-butterfly-backfill'
export { mergeLandArchitectProgress } from './land-architect-backfill'
export { mergeEmoteCreatorProgress } from './emote-creator-backfill'
export { mergeWearableDesignerProgress } from './wearable-designer-backfill'
export { mergeProfileProProgress } from './profile-pro-backfill'
export { mergeOpenForBusinessProgress } from './open-for-business-backfill'
6 changes: 5 additions & 1 deletion api/test/unit/logic/backfill-merger.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import {
mergeFashionistaProgress,
mergeLandArchitectProgress,
mergeMovesMasterProgress,
mergeOpenForBusinessProgress,
mergeProfileProProgress,
mergeSocialButterflyProgress,
mergeWearableDesignerProgress,
mergeWearablesEquipmentProgress
Expand Down Expand Up @@ -64,7 +66,9 @@ describe('Backfill Merger', () => {
[BadgeId.EVENT_ENTHUSIAST, mergeEventEnthusiastProgress],
[BadgeId.MOVES_MASTER, mergeMovesMasterProgress],
[BadgeId.SOCIAL_BUTTERFLY, mergeSocialButterflyProgress],
[BadgeId.LAND_ARCHITECT, mergeLandArchitectProgress]
[BadgeId.LAND_ARCHITECT, mergeLandArchitectProgress],
[BadgeId.PROFILE_PRO, mergeProfileProProgress],
[BadgeId.OPEN_FOR_BUSINESS, mergeOpenForBusinessProgress]
])('should merge the progress for the user when the badge id is %s', (badgeId: BadgeId, merger: jest.Mock) => {
const mergerMock = merger as jest.Mock

Expand Down

0 comments on commit 3839e78

Please sign in to comment.