Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-jasmine-node

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-jasmine-node - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

3

CHANGELOG.md

@@ -0,1 +1,4 @@

# 0.3.1
- Merged PR #62 to fix junitreport hard-coded options
# 0.2.1

@@ -2,0 +5,0 @@ - multi-task configuration support added

2

package.json
{
"name" : "grunt-jasmine-node",
"description" : "Grunt task for running jasmine-node",
"version" : "0.3.0",
"version" : "0.3.1",
"homepage" : "https://github.com/jasmine-contrib/grunt-jasmine-node",

@@ -6,0 +6,0 @@ "author" : {

module.exports = function (grunt) {
'use strict';
grunt.registerMultiTask("jasmine_node", "Runs jasmine-node.", function() {

@@ -28,2 +28,3 @@ var jasmine = require('jasmine-node');

var growl = grunt.config("jasmine_node.growl") || false;
var junitreport = grunt.config("jasmine_node.junitreport");

@@ -37,10 +38,2 @@ var isVerbose = grunt.config("jasmine_node.verbose") || true;

var junitreport = {
report: false,
savePath : "./reports/",
useDotNotation: true,
consolidate: true
};
var onComplete = function(runner, log) {

@@ -61,4 +54,4 @@ var exitCode;

};
var options = {

@@ -79,6 +72,6 @@ match: match,

};
var regExpSpec = new RegExp(options.match + (options.matchall ? "" : options.specNameMatcher + "\\.") + "(" + options.extensions + ")$", 'i');
options.regExpSpec = regExpSpec;
options.specFolders = grunt.util._.union(options.specFolders, this.filesSrc);

@@ -93,8 +86,8 @@ if (options.projectRoot) {

options.extensions = 'js|coffee|litcoffee';
require('coffee-script');
require('coffee-script');
}
if (captureExceptions) {

@@ -126,13 +119,13 @@ // Grunt will kill the process when it handles an uncaughtException, so

var jasmineOptions = {
specFolders: options.specFolders,
onComplete: onComplete,
isVerbose: grunt.option('verbose')?true:options.verbose,
showColors: options.showColors,
teamcity: options.teamcity,
useRequireJs: options.useRequireJs,
regExpSpec: regExpSpec,
junitreport: options.jUnit,
includeStackTrace: options.includeStackTrace,
coffee: options.coffee,
growl: options.growl
specFolders: options.specFolders,
onComplete: onComplete,
isVerbose: grunt.option('verbose')?true:options.verbose,
showColors: options.showColors,
teamcity: options.teamcity,
useRequireJs: options.useRequireJs,
regExpSpec: regExpSpec,
junitreport: options.junitreport,
includeStackTrace: options.includeStackTrace,
coffee: options.coffee,
growl: options.growl
};

@@ -139,0 +132,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc