Socket
Book a DemoInstallSign in
Socket

karma-painless

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-painless

Karma plugin for painless test library

1.3.0
latest
Source
npmnpm
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
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

karma-plugin

FAQs

Package last updated on 14 Apr 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.