Skip to content

Brussels | ITP-2026-1 | Nik | Week 9 | Sprint 3 - Reading List#132

Open
bezdzenariy wants to merge 2 commits intoHackYourFutureBelgium:mainfrom
bezdzenariy:feature/reading-list
Open

Brussels | ITP-2026-1 | Nik | Week 9 | Sprint 3 - Reading List#132
bezdzenariy wants to merge 2 commits intoHackYourFutureBelgium:mainfrom
bezdzenariy:feature/reading-list

Conversation

@bezdzenariy
Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Render books with title, author, and cover image. Set background color based on
read status (red for unread, green for already read).

Note: Downgraded jest-environment-jsdom from v30 to v29 due to a JSDOM 26
color comparison bug — getComputedStyle returns 'rgb(255, 0, 0)' instead of
'red', breaking toHaveStyle assertions. JSDOM 20 (in jest 29) returns colors
in matching format, so tests pass reliably.

All 3 tests passing.

JSDOM 26 color comparison bug — getComputedStyle returns
'rgb(255, 0, 0)' instead of 'red', breaking toHaveStyle assertions.
JSDOM 20 (in jest 29) returns colors in matching format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant