minimal reproducible example for the log duplication

Run the tests

npm test

Take a look at the terminal

Running:  spec.cy.js

This will be output to the terminal
This will be output to the terminal

✓ passes (509ms)