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.0.2 to 0.0.3

3

package.json
{
"name" : "grunt-jasmine-node",
"description" : "Grunt task for running jasmine-node",
"version" : "0.0.2",
"version" : "0.0.3",
"homepage" : "https://github.com/s9tpepper/grunt-jasmine-node",

@@ -32,2 +32,3 @@ "author" : {

"dependencies" : {
"jasmine-node": "*"
},

@@ -34,0 +35,0 @@ "devDependencies" : {

@@ -13,3 +13,3 @@ # grunt-jasmine-node

jasmine_node: {
spec: "./spec",
specNameMatcher: "./spec", // load only specs containing specNameMatcher
projectRoot: ".",

@@ -42,2 +42,2 @@ requirejs: false,

Copyright (c) 2012 "s9tpepper" Omar Gonzalez & contributors.
Licensed under the MIT license.
Licensed under the MIT license.
module.exports = function (grunt) {
'use strict';

@@ -7,2 +8,3 @@ grunt.registerTask("jasmine_node", "Runs jasmine-node.", function() {

var Path = require('path');
var _ = grunt.utils._;

@@ -17,5 +19,3 @@ try {

var source = grunt.config("jasmine_node.source") || "src";
var specFolderName = grunt.config("jasmine_node.specFolderName") || "spec";
var isVerbose = grunt.config("jasmine_node.verbose") || true;
var showColors = grunt.config("jasmine_node.colors") || true;
var specNameMatcher = grunt.config("jasmine_node.specNameMatcher") || "spec";
var teamcity = grunt.config("jasmine_node.teamcity") || false;

@@ -30,2 +30,13 @@ var useRequireJs = grunt.config("jasmine_node.requirejs") || false;

var isVerbose = grunt.config("jasmine_node.verbose");
var showColors = grunt.config("jasmine_node.colors");
if (_.isUndefined(isVerbose)) {
isVerbose = true;
}
if (_.isUndefined(showColors)) {
showColors = true;
}
var junitreport = {

@@ -43,3 +54,3 @@ report: false,

var regExpSpec = new RegExp(match + (matchall ? "" : specFolderName + "\\.") + "(" + extensions + ")$", 'i');
var regExpSpec = new RegExp(match + (matchall ? "" : specNameMatcher + "\\.") + "(" + extensions + ")$", 'i');
var onComplete = function(runner, log) {

@@ -75,2 +86,2 @@ var exitCode;

});
};
};
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