jasmine
Version:
Command line jasmine
15 lines (11 loc) • 356 B
JavaScript
module.exports = function(grunt) {
var Jasmine = require('../lib/jasmine');
grunt.registerTask('specs', function() {
var jasmine = new Jasmine();
var done = this.async();
jasmine.loadConfigFile(process.env.JASMINE_CONFIG_PATH || './spec/support/jasmine.json');
jasmine.onComplete(done);
jasmine.execute();
});
};
;