Fix base path issue with Karma