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

jasmine-node

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jasmine-node - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

8

lib/jasmine-node/cli.js

@@ -139,2 +139,10 @@ var util,

help();
} else {
// Check to see if all our files exist
for (var idx = 0; idx < specFolders.length; idx++) {
if (!fs.existsSync(specFolders[idx])) {
console.log("File: " + specFolders[idx] + " is missing.");
return;
}
}
}

@@ -141,0 +149,0 @@

13

lib/jasmine-node/index.js

@@ -105,6 +105,3 @@ var fs = require('fs');

if(teamcity){
jasmineEnv.addReporter(new jasmine.TerminalReporter({print: util.print,
color: false,
onComplete: done,
stackFilter: removeJasmineFrames}));
jasmineEnv.addReporter(new jasmine.TeamcityReporter());
} else if(isVerbose) {

@@ -136,3 +133,9 @@ jasmineEnv.addReporter(new jasmine.TerminalVerboseReporter({ print: util.print,

delete require.cache[filename.path()];
require(filename.path().replace(/\.\w+$/, ""));
// Catch exceptions in loading the spec
try {
require(filename.path().replace(/\.\w+$/, ""));
} catch (e) {
console.log("Exception loading: " + filename.path());
console.log(e);
}
}

@@ -139,0 +142,0 @@

{
"name": "jasmine-node",
"version": "1.5.0",
"version": "1.6.0",
"description": "DOM-less simple JavaScript BDD testing framework for Node",

@@ -5,0 +5,0 @@ "contributors": [

@@ -17,2 +17,3 @@ jasmine-node

----------
* Teamcity Reporter reinstated.
* Ability to specify multiple files to test via list in command line

@@ -30,3 +31,2 @@ * Ability to suppress stack trace with <code>--noStack</code>

* Verbose mode tabs <code>describe</code> blocks much more accurately!
* Now with more exclamation points!!

@@ -147,2 +147,4 @@ install

* _1.6.0 - Teamcity Reporter Reinstated (thanks to [bhcleek](https://github.com/bhcleek))_
* _1.5.1 - Missing files and require exceptions will now report instead of failing silently_
* _1.5.0 - Now takes multiple files for execution. (thanks to [abe33](https://github.com/abe33))_

@@ -149,0 +151,0 @@ * _1.4.0 - Optional flag to suppress stack trace on test failure (thanks to [Lastalas](https://github.com/Lastalas))_

@@ -0,1 +1,2 @@

describe('jasmine-node-flat', function(){

@@ -2,0 +3,0 @@ it('should pass', function(){

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