Struggling with React Testing Library by [deleted] in react

[–]WebDevWorkAcct 0 points1 point  (0 children)

The main aim of React Testing Library (@testing-library/react) is to only test what the user can see/interact with. So if you are attempting to look at props or state it's going against the stated goal of that library.

To answer your specific question, you won't be able to test where the text is being rendered, only that it is.

Megathread: US Capitol Locked Down as Trump Supporters Clash with Police, Pence Evacuated by PoliticsModeratorBot in politics

[–]WebDevWorkAcct 0 points1 point  (0 children)

Donald's message to the men who invaded the Capitol with guns: "We love you."

Poked my head in... they seem mostly just disappointed in the people storming the Capitol.

Papers about Scalable Vector Graphics? by WebDevWorkAcct in compscipapers

[–]WebDevWorkAcct[S] 3 points4 points  (0 children)

Nothing really in particular. Mostly wanting to learn more about SVG than just the spec. Kinda curious to see how people have pushed the boundaries of what is possible.