Socket
Socket
Sign inDemoInstall

@badeball/cypress-configuration

Package Overview
Dependencies
39
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @badeball/cypress-configuration

[![Build status](https://github.com/badeball/cypress-configuration/actions/workflows/build.yml/badge.svg)](https://github.com/badeball/cypress-configuration/actions/workflows/build.yml) [![Npm package weekly downloads](https://badgen.net/npm/dw/@badeball/


Version published
Maintainers
1
Install size
11.3 MB
Created

Readme

Source

cypress-configuration

Build status Npm package weekly downloads

A re-implementation of Cypress' configuration resolvement and search for test files. These mechanisms aren't exposed by Cypress, but are nonetheless necessary for EG. @badeball/cypress-cucumber-preprocessor, @badeball/cypress-parallel and the upcoming VSCode extention for the Cypress + Cucumber integration.

Installation

$ npm install @badeball/cypress-configuration

Usage

import { getConfiguration } from "@badeball/cypress-configuration";

const { fixturesFolder, integrationFolder } = getConfiguration({
  cwd: process.cwd(),
  env: process.env,
  argv: ["--config", "integrationFolder=cypress/custom-location"]
});

console.log(fixturesFolder); // => "cypress/fixtures"
console.log(integrationFolder); // => "cypress/custom-location"

Keywords

FAQs

Last updated on 08 Feb 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc