New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

benderjs-jasmine

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

benderjs-jasmine - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

.jshintrc

18

lib/adapter.js

@@ -6,4 +6,2 @@ ( function( bender ) {

function nop() {}
// expose jasmine API

@@ -74,4 +72,5 @@ window.describe = function( desc, spec ) {

function buildError( result ) {
var pattern = /^Error:\s|\n.+jasmine.js.+\)/gi,
var pattern = /\n.*jasmine.js.*/gi,
error = [],
exp,
i;

@@ -81,4 +80,11 @@

errors++;
exp = result.failedExpectations[ i ];
if ( exp.stack.indexOf( exp.message ) === -1 ) {
error.push( exp.message );
}
error.push(
result.failedExpectations[ i ].stack
exp.stack
.replace( pattern, '' )

@@ -114,4 +120,5 @@ );

this.specStarted = function() {
this.specStarted = function( result ) {
total++;
result.startTime = +new Date();
};

@@ -124,2 +131,3 @@

result.success = true;
result.duration = +new Date() - result.startTime;

@@ -126,0 +134,0 @@ if ( result.status === 'passed' ) {

{
"name": "benderjs-jasmine",
"version": "0.2.1",
"version": "0.2.2",
"description": "Adapter for Jasmine testing framework for Bender.js",
"main": "lib/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"lint": "jscs . && jshint lib/"
},

@@ -26,3 +26,7 @@ "repository": {

},
"homepage": "https://github.com/benderjs/benderjs-jasmine"
"homepage": "https://github.com/benderjs/benderjs-jasmine",
"devDependencies": {
"jscs": "^1.5.9",
"jshint": "^2.5.3"
}
}

Sorry, the diff of this file is not supported yet

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