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

Comparing version 1.1.0 to 1.2.0

.idea/jsLibraryMappings.xml

5

package.json
{
"name": "karma-painless",
"version": "1.1.0",
"version": "1.2.0",
"description": "Karma plugin for painless test library",

@@ -33,3 +33,6 @@ "main": "index.js",

"watchify": "^3.7.0"
},
"dependencies": {
"variable-diff": "^1.1.0"
}
}

47

README.md
# karma-painless
A Karma plugin. Adapter for Painless test libary.
A Karma plugin. Adapter for Painless test library.
## Setup
### Install Karma
First install [karma](https://karma-runner.github.io/0.13/intro/installation.html) and get it setup
### Install karma-painless and browserify
```
npm install karma-painless browserify --save-dev
```
You can also use with webpack
### Karma Setup
```js
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
```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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