1.1.3 • Published 6 years ago

stenode v1.1.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago