🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

stenode

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stenode

Test Slack apps built with Node.js

latest
Source
npmnpm
Version
1.1.3
Version published
Maintainers
1
Created
Source

stenode Build Status npm version

Test Slack apps built with Node.js

Installation

Requirements

  • Node.js 8 and up
  • Steno

npm i stenode or yarn add stenode

Usage

const assert = require("assert");
const stenode = require("stenode");

// Start your server...
const { startScenario, stopScenario } = await steno(url);

await startScenario("scenario_name");

// ...give it time to respond

const { body: history } = await stopScenario();

assert.equal(history.meta.unmatchedCount.incoming, 0);
assert.equal(history.meta.unmatchedCount.outgoing, 0);
assert.equal(history.interactions.length, 1);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

FAQs

Package last updated on 02 Nov 2018

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