Add karma config file.

This will hopefully be more likely to work on the
jenkins server.

[Works towards #46766613]