Socket
Socket
Sign inDemoInstall

karma-painless

Package Overview
Dependencies
9
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    karma-painless

Karma plugin for painless test library


Version published
Weekly downloads
4
decreased by-20%
Maintainers
1
Install size
137 kB
Created
Weekly downloads
 

Readme

Source

karma-painless

A Karma plugin. Adapter for Painless test library.

Setup

Install Karma

First install karma and get it setup

Install karma-painless and browserify

npm install karma-painless browserify --save-dev

You can also use with webpack

Karma Setup

module.exports = function(config) {
  config.set({
        // ...
        
        frameworks: ['browserify', 'painless'],
        
        
        // list of files / patterns to load in the browser
        files: [
            'test/**/*.js'
        ],
        
        
        // preprocess matching files before serving them to the browser
        // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
        preprocessors: {
            'test/**/*.js': [ 'browserify' ]
        },
        
        // ...
        
    });
}

Run your tests

karma start

Keywords

FAQs

Last updated on 14 Apr 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc