79171318

Date: 2024-11-08 19:28:40
Score: 0.5
Natty:
Report link

I'm still encountering the issue, which appears to stem from a third-party library. This external library was built with Webpack, while the project I'm using it in was built with Vite (both are React TypeScript projects), so unfortunately, I can't modify the library itself.

The error only occurs when I run the tests using npm run test:

"Automatic publicPath is not supported in this browser"

Any guidance on how to work around this conflict between Vite and Webpack in the testing environment would be greatly appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: PedroB