As a result, we finished testing and mocked the data in the “Rails apps” spec folder and configured Karma to import them, as well as our tested code with app/assets .
It works for us. Other thoughts are welcome.
Our config/karma.conf.js file:
basePath = '../'; files = [ JASMINE, JASMINE_ADAPTER,
source share