In tests - Error: Failed loading required CSS file

Hello there,
I have a small, but painful issue with my tests - When I try to test the component, I get the following error:
Error: Failed loading required CSS file.
I’m using a plain CSS file and everything I’m my webpack is the default for a newly bootstraped AU 1 app.
I found this topic How to mock css that is loaded via html require when testing components - #2 by stevies
but I don’t see a working solution there.

usually you can inject the Loader, spy & stub the loading css part as well, if other techniques don’t work. jest itself also provide an good number of tools to mock modules.