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

cypress-mochawesome-reporter

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-mochawesome-reporter - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

10

lib/generateReport.js

@@ -16,6 +16,14 @@ const path = require('path');

async function copyScreenShotsDir({ screenshotsDir, output }) {
const isExists = await fse.exists(screenshotsDir);
if (isExists) {
await fse.copy(screenshotsDir, path.join(output, 'screenshots'), { recursive: true });
}
}
async function generateReport({ jsonDir, screenshotsDir, output }) {
const [htmlPath] = await Promise.all([
mergeAndCreate({ jsonDir, output }),
fse.copy(screenshotsDir, path.join(output, 'screenshots')),
copyScreenShotsDir({ screenshotsDir, output }),
]);

@@ -22,0 +30,0 @@

2

package.json
{
"name": "cypress-mochawesome-reporter",
"version": "1.0.0",
"version": "1.0.1",
"description": "Zero config Mochawesome reporter for Cypress with screenshots",

@@ -5,0 +5,0 @@ "author": "Liron Er",

# cypress-mochawesome-reporter
[![npm](https://img.shields.io/npm/v/cypress-mochawesome-reporter)](http://www.npmjs.com/package/cypress-mochawesome-reporter)
Zero config Mochawesome reporter for Cypress with screenshots

@@ -4,0 +6,0 @@

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