Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@slack/slack-cli-test-utils

Package Overview
Dependencies
Maintainers
10
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slack/slack-cli-test-utils

Automated end to end testing utilities for the slack cli

latest
npmnpm
Version
0.1.4
Version published
Weekly downloads
3
50%
Maintainers
10
Weekly downloads
 
Created
Source

slack-cli-integration-test

Setup

Ensure that you have your Slack CLI binary that you wish to test setup on the machine you ae running the tests on.

To run these tests using a local CLI build from main, symlinking:

rm /usr/local/bin/<BIN_NAME> && ln -s /<PATH>/<TO>/<YOUR>/<LOCAL>/<BIN> /usr/local/bin/<BIN_NAME>

Then create a file called .env in the project to hold environment variables. Add SLACK_CLI_PATH to this file to configure the name of your local Slack CLI binary that tests will use. See .env.sample for an example.

Usage

src/runner/testRunner.ts is used to to set up environment variables an start tests.

FAQs

Package last updated on 03 Apr 2023

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