šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

karma-cljs-test

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-cljs-test

Adapter for the cljs.test testing framework.

0.1.0
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
Ā 
Created
Source

karma-cljs-test

Adapter for the cljs.test testing framework.

Installation

The easiest way is to keep karma-cljs-test as a dependency in your package.json:

{
  "devDependencies": {
    "karma": "~0.12.0",
    "karma-cljs-test": "~0.1.0"
  }
}

You can simply do it by:

npm install karma-cljs-test --save-dev

Configuration

// karma.conf.js
module.exports = function(config) {
  var root = 'target/public/dev';

  config.set({
    frameworks: ['cljs-test'],

    files: [
      root + '/goog/base.js',
      root + '/cljs_deps.js',
      root + '/app.js',
      {pattern: root + '/*.js', included: false},
      {pattern: root + '/**/*.js', included: false}
    ],

    client: {
      args: ['app.test_runner.run_with_karma']
    },
  });
};

Keywords

karma-plugin

FAQs

Package last updated on 01 Jul 2015

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