Socket
Socket
Sign inDemoInstall

karma-cljs-test

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    karma-cljs-test

Adapter for the cljs.test testing framework.


Version published
Weekly downloads
16K
decreased by-0.77%
Maintainers
1
Install size
3.02 kB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 01 Jul 2015

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