jasmine-browser-runner
jasmine-browser-runner copied to clipboard
Don't require srcDir if srcFiles and cssFiles are both empty
A typical ESM configuration doesn't load anything from srcDir and only sets it because it's a required field. That's unnecessary, and it can be confusing because there's no obviously correct value to use. (In practice, anything will work.) jasmine-browser-runner should only require srcDir if at least one of srcFiles or cssFiles is non-empty.