I am trying to use jasmine-rails to run tests from the command line. My tests are written in es6. I have a spec called company_spec.es6 that I can run from the browser.
Whenever I run rake spec:javascript
I get the following error:
ActionView::Template::Error: couldn't find file 'models/company_spec.es6' with type 'application/javascript'
I read through the documentation on the jasmine-rails repo and my jasmine.yml has the following:
spec_files:
- '**/*[sS]pec.{js,es6}'
What am I missing? How can I get my tests running from command line?