Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/__tests__/unit/components/Footer.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ describe('Footer', () => {
renderFooter()

const footer = screen.getByRole('contentinfo')
const gridContainer = footer.querySelector('.grid.w-full.sm\\:grid-cols-2')
const gridContainer = footer.querySelector(String.raw`.grid.w-full.sm\:grid-cols-2`)
expect(gridContainer).toBeInTheDocument()
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ describe('RecentReleases Component', () => {

// Check for main card structure - look for the card wrapper
const cardElement = container.querySelector(
'.mb-4.w-full.rounded-lg.bg-gray-200.p-4.dark\\:bg-gray-700'
String.raw`.mb-4.w-full.rounded-lg.bg-gray-200.p-4.dark\:bg-gray-700`
)
expect(cardElement).toBeInTheDocument()

Expand Down
2 changes: 1 addition & 1 deletion frontend/__tests__/unit/pages/UserDetails.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ describe('UserDetailsPage', () => {
await waitFor(() => {
const heatmapContainer = screen
.getByAltText('Heatmap Background')
.closest('div.hidden.lg\\:block')
.closest(String.raw`div.hidden.lg\:block`)
expect(heatmapContainer).toBeInTheDocument()
expect(heatmapContainer).toHaveClass('hidden')
expect(heatmapContainer).toHaveClass('lg:block')
Expand Down