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

allure-js-commons

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

allure-js-commons - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

5

beans/test.js

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

var STATUSES = ['passed', 'pending', 'skipped', 'failed', 'broken'];
function Test(name, timestamp) {

@@ -27,3 +28,5 @@ this.name = name;

this.stop = timestamp || Date.now();
this.status = status;
if(STATUSES.indexOf(status) > STATUSES.indexOf(this.status)) {
this.status = status;
}
if (error) {

@@ -30,0 +33,0 @@ this.failure = {

1

index.js

@@ -46,3 +46,2 @@ var _ = require('lodash'),

suite.currentTest.end(status, err, timestamp);
suite.currentTest = null;
};

@@ -49,0 +48,0 @@

{
"name": "allure-js-commons",
"version": "1.0.2",
"description": "",
"version": "1.0.3",
"description": "Common helper for writing plugins to allure-framework",
"main": "index.js",
"repository": "git@github.com:allure-framework/allure-js-commons.git",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"license": "Apache-2.0",
"devDependencies": {},

@@ -12,0 +12,0 @@ "dependencies": {

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