Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwn04 committed Oct 24, 2024
1 parent b9acade commit de9ffb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/onboardingReward.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('collect onboarding reward', () => {
const response = await userController.collectOnboarding(member);
const userProfile = response.user;

expect(userProfile.onboardingCollected).toBe(true);
expect(userProfile.firstTasksCompleted).toBe(true);
expect(userProfile.points).toBe(60);
});

Expand All @@ -63,7 +63,7 @@ describe('collect onboarding reward', () => {
const member = UserFactory.fake({
bio: 'this is a bio',
profilePicture: 'https://pfp.com',
onboardingCollected: true,
firstTasksCompleted: true,
});
const resume = ResumeFactory.fake({ user: member, isResumeVisible: true });

Expand Down

0 comments on commit de9ffb4

Please sign in to comment.