stenode

1.1.3 • Public • Published

stenode Build Status npm version

Test Slack apps built with Node.js

Installation

Requirements

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

Readme

Keywords

none

Package Sidebar

Install

npm i stenode

Weekly Downloads

2

Version

1.1.3

License

MIT

Unpacked Size

142 kB

Total Files

8

Last publish

Collaborators

  • zertz