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

@currents/cli

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@currents/cli

CLI tool for running cypress tests with https://currents.dev dashboard. [Currents.dev](https://currents.dev/?utm_source=currents_cli) - is a drop-in replacement for Cypress Dashboard.

  • 3.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
22K
decreased by-1.41%
Maintainers
1
Weekly downloads
 
Created
Source

@currents/cli

CLI tool for running cypress tests with https://currents.dev dashboard. Currents.dev - is a drop-in replacement for Cypress Dashboard.

Example: Run cypress connected to Currents Dashboard

npm install @currents/cli cypress
npx currents run --parallel --record --key XXXXXX --ci-build-id build-001

Example: Prepare cypress for connecting to Currents Dashboard

npm install @currents/cli cypress
npx currents-prepare
npx cypress-retry ...

Example: API usage

import { patch } from "@currents/cli";
import cypress from "cypress";

async function main() {
  await patch();

  cypress
    .run({
      spec: "./cypress/e2e/examples/actions.cy.js",
      parallel: true,
      record: true,
      key: "Currents key from https://app.currents.dev",
      ciBuildId: "hello-currents",
    })
    .then((results) => {
      console.log(results);
    })
    .catch((err) => {
      console.error(err);
    });
}
main().catch((error) => {
  console.error(error);
  process.exit(1);
});

Changelog

https://github.com/currents-dev/cli/blob/main/CHANGELOG.md

Keywords

FAQs

Package last updated on 11 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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