jasmine-node
Advanced tools
Comparing version 1.0.16 to 1.0.17
@@ -109,3 +109,3 @@ var jasmine = require('./index'); | ||
jasmine.loadHelpersInFolder(specFolder, | ||
new RegExp("[-_]helper\\.(" + extentions + ")$")); | ||
new RegExp("helpers?\\.(" + extentions + ")$", 'i')); | ||
} | ||
@@ -112,0 +112,0 @@ |
@@ -47,4 +47,4 @@ var fs = require('fs'); | ||
{ | ||
var filename = helpers[i]; | ||
var helper= require(filename.replace(/\.*$/, "")); | ||
var file = helpers[i].path(); | ||
var helper= require(file.replace(/\.*$/, "")); | ||
for (var key in helper) | ||
@@ -111,3 +111,3 @@ global[key]= helper[key]; | ||
var filename = specsList[i]; | ||
require(filename.replace(/\.\w+$/, "")); | ||
require(filename.path().replace(/\.\w+$/, "")); | ||
} | ||
@@ -114,0 +114,0 @@ |
{ | ||
"name" : "jasmine-node" | ||
, "version" : "1.0.16" | ||
, "version" : "1.0.17" | ||
, "description" : "DOM-less simple JavaScript BDD testing framework for Node" | ||
@@ -5,0 +5,0 @@ , "homepage" : [ "http://pivotal.github.com/jasmine" |
@@ -8,2 +8,6 @@ jasmine-node | ||
install | ||
------ | ||
npm install jasmine-node -g | ||
usage | ||
@@ -10,0 +14,0 @@ ------ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
136367
40