Socket
Book a DemoInstallSign in
Socket

@star-unit/js

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@star-unit/js

**Version**: 1.1.0 **Command shortcut**: `suj`

npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

Star Unit (for JavaScript) - CLI Tool

Version: 1.1.0
Command shortcut: suj

Star Unit is a lightweight command-line tool designed for instant JavaScript unit testing, particularly in monorepo-style projects. It helps you set up and run unit tests quickly with minimal configuration.

Getting Started

Install Star Unit globally using npm:

npm install -g star-unit

Once installed, you can use the suj command in your terminal.

CLI Commands

init

Initializes the configuration required for Star Unit to run tests in your project.

suj init

Options

  • -r, --root <root>
    Path to the root directory of your codebase.
    Default: ./

Example Usage

suj init --root ./packages

This command prepares the necessary configuration files and sets the provided root directory for test discovery.

test

Runs unit tests in your project. Make sure you have initialized the configuration first using suj init.

suj test

Example Usage

suj test

This will execute all unit tests based on your current Star Unit setup.

License

MIT

Made with 💛 to simplify JavaScript testing.

FAQs

Package last updated on 25 Apr 2025

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