jasmine/jasmine-py

Simple jasmine.yml errors not handled well

Gerg opened this issue · 2 comments

Gerg commented

Typing

src_files: 'javascripts/counter.js'

instead of

src_files:
 - 'javascripts/counter.js'

Results in config#_glob_filelist getting a string instead of an array, which results in crazytown.

<script src="__src__/../../../../.." type="text/javascript"></script>
<script src="__src__/." type="text/javascript"></script>  

We'd be happy to review a pull request that either:

  1. raises an error if the things that are expected to be arrays are not
    or
  2. Treats a string as an array of one value.

Closing since jasmine-py is discontinued.