Background
Using react-testing-library
When I run Jest on a bigger component and the test fails, jest does not print the full output of the component to the console (see below)
<button
aria-label="create"
class="MuiButtonBase-root"
tabindex="0"
type="button"
>
<span
class="MuiButton-label"
...
↑ The output is abbreviated with these 3 dots.
Question
How can I prevent Jest from omitting the output?
(I feel like I stumbled across this topic before, but I can't find it anymore).