Overcoming Karma server case sensitivity

This post explains how to setup Karma + RequireJs. However it doesn't mention one important limitation of Karma. And that is case-sensitivity. Basically if your module name doesn't match actual folder/filename Karma will return 404 and test will fail. In order to overcome this issue I hooked up into require.load function and normalized module paths there to make sure they match those stored on the disk.

Comments

Popular posts from this blog

Demystifying fast up-to-date check in Visual Studio C# projects

TFS Proxy not working: The source control proxy is not responding

Bitcoin, Docker, Microservices, etc.