'use strict';
module.exports = function (config) {
config.set({
browsers: ['PhantomJS'],
frameworks: ['browserify', 'mocha'],
files: [
'test/**/*.spec.js'
],
preprocessors: {
'test/**/*.spec.js': ['browserify']
},
reporters: ['mocha'],
client: {
mocha: {
reporter: 'tap'
}
},
plugins: [
'karma-browserify',
'karma-mocha',
'karma-mocha-reporter',
'karma-phantomjs-launcher'
]
});
};
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| data | Folder | 0755 |
|
|
| dist | Folder | 0755 |
|
|
| .eslintignore | File | 6 B | 0644 |
|
| .travis.yml | File | 52 B | 0644 |
|
| README.md | File | 6.44 KB | 0644 |
|
| index.js | File | 5.89 KB | 0644 |
|
| karma.conf.js | File | 499 B | 0644 |
|
| package.json | File | 2.09 KB | 0644 |
|
| yarn.lock | File | 149.21 KB | 0644 |
|