🎨 Reformat test assertions and slot content for improved readability

This commit is contained in:
2026-01-29 05:33:32 +00:00
parent ece566ea56
commit 75a5e5ba47
2 changed files with 49 additions and 3 deletions

View File

@@ -87,7 +87,9 @@ describe('TournamentGrid', () => {
expect(wrapper.find('.status.empty').exists()).toBe(true);
expect(wrapper.text()).toContain('No tournaments found');
expect(wrapper.find('a[href="https://challonge.com"]').exists()).toBe(true);
expect(wrapper.find('a[href="https://challonge.com"]').exists()).toBe(
true
);
});
});
@@ -304,7 +306,9 @@ describe('TournamentGrid', () => {
});
expect(wrapper.find('.load-more-section').exists()).toBe(true);
expect(wrapper.find('.btn-secondary').text()).toBe('Load More Tournaments');
expect(wrapper.find('.btn-secondary').text()).toBe(
'Load More Tournaments'
);
});
it('hides load more button when hasNextPage is false', () => {
@@ -375,7 +379,8 @@ describe('TournamentGrid', () => {
expandedTournamentId: 'abc123'
},
slots: {
'tournament-details': '<div class="custom-details">Custom Content</div>'
'tournament-details':
'<div class="custom-details">Custom Content</div>'
}
});