New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

karma-vca-api

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-vca-api

A Karma plugin middleware that implements the VCA APIs

latest
npmnpm
Version
1.0.0
Version published
Maintainers
3
Created
Source

karma-vca-api NPM version NPM downloads NPM license

A Karma plugin middleware that implements the VCA APIs

Installation

$ npm install --save-dev karma-vca-api

Usage

/* karma.conf.js */
module.exports = function(config) {
  config.set({
    /* Use the middleware */
    middleware: ['vca-api'],

    /* Passed to the Api constructor */
    vcaApi: {
      endpoint: '/test'
    }
  });
}

Resetting Between Tests

To provide a consistent testing environment it is useful for the API to be reset between tests. There are framework adaptors for popular testing frameworks that perform a POST request with the browsers Karma identification number to /karma-vca-api/api/reset so that the middleware data storage gets reset.

License

MIT © VCA Technology

Keywords

vca

FAQs

Package last updated on 15 Jul 2016

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