Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@updater/test-utils

Package Overview
Dependencies
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@updater/test-utils

Test helpers for services at Updater

  • 0.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

Services Test Utils

Simple test utilities for services.

Usage

Initialization

test-utils takes a config object at initialization.

const testUtils = require('@updater/test-utils')({
  amqpUrl: 'amqp://localhost'
})

AMQP Wrap

API
{ amqpWrap } = testUtils
const queue = 'queue'
const exchange = 'exchange'
const route = 'route'
amqpWrap(queue, exchange, route, async channel => {
  // Some tests that will get cleaned up
})

FAQs

Package last updated on 03 Apr 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc