any-queue-test

0.1.1 • Public • Published

any-queue-test

npm version

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

Readme

Keywords

none

Package Sidebar

Install

npm i any-queue-test

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

10.4 kB

Total Files

7

Last publish

Collaborators

  • gmunguia