In hindsight, this is a very silly question by me.
I looked back and realized the issue was in the :root styling within my index.css file. By default, a new Vite app will have a background-color set and removing only that line or changing it into 'transparent' will not solve the issue. The way I solved it was by entirely removing the styles for the :root class in index.css and any other files.
Thanks to Phil for his comment that made me go back and look at the test files again!