jasmine / jasmine-npm

A jasmine runner for node projects.
MIT License
376 stars 145 forks source link

Support 'failSpecWithNoExpectations' config option #157

Closed coyoteecd closed 4 years ago

coyoteecd commented 4 years ago

This adds support for failSpecWithNoExpectations when calling loadConfig() or in jasmine.json. It also modifies the default ConsoleReporter to print 'Spec has no expectations' when failSpecWithNoExpectations=true and a spec with no expect() is found.

Documentation update is here: https://github.com/jasmine/jasmine.github.io/pull/127

coyoteecd commented 4 years ago

@slackersoft Mind having a look and merging/releasing this?