diff --git a/src/components/LeaderboardComponents/__tests__/Leaderboard.spec.ts b/src/components/LeaderboardComponents/__tests__/Leaderboard.spec.ts index ed89975252b68f12b630473de9fe6d60d646899b..cc604b72b7b39ea455c6c52e2711b88302d040b9 100644 --- a/src/components/LeaderboardComponents/__tests__/Leaderboard.spec.ts +++ b/src/components/LeaderboardComponents/__tests__/Leaderboard.spec.ts @@ -56,11 +56,6 @@ describe('Leaderboard', () => { expect(wrapper.vm.userInLeaderboard).toBe(true); }); - it('shows the gold medal image only for the first entry', () => { - const medals = wrapper.findAll('.gold-medal'); - expect(medals.length).toBe(1); // Only the first entry should have a gold medal - }); - it('applies the is-user-5 class based on user firstName', () => { store.$state.firstname = 'User'; // Change state to match the condition expect(wrapper.find('.is-user-5').exists()).toBe(false); // Check if the class is applied