any-queue-test
v0.1.1
Published
Test helper for any-queue integrations
Downloads
7
Readme
any-queue-test
Test helper for any-queue connectors
Install
$ npm install --save-dev any-queue-test
Usage
const testIntegration = require("any-queue-test");
const connector = require(".");
testIntegration({
name: "mysql",
createPersistenceInterface: () =>
connector({
...connectorConfig
})
});
API
testIntegration({ name, createPersistenceInterface })
Runs mocha tests for adapter, using name
for format and createPersistenceInterface
to spawn persistence connections.
License
MIT © Gerardo Munguia