Socket
Socket
Sign inDemoInstall

@bigab/local-registry-test-environment

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bigab/local-registry-test-environment

A Jest Test Environment that runs with a local-registry for CLI testing


Version published
Maintainers
1
Created
Source

Local Registry Test Environment

CI

A Jest Test Environment that runs with a local-registry for CLI testings

Jest Development

This library can be imported and configured as a jest test enviroment.

It will start a verdaccio local registry for each test file on a "random" port (using get-port package). It will store any published packages to a random temp directory (uses tmp-promise package) and will set the processs.env.npm_config_registry to the url of the local registry.

This is useful for running node CLI test, where you expect the users to use npx or npm-scripts to run your cli commands.

FAQs

Package last updated on 25 Apr 2020

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