UNPKG

taggd

Version:

A tool to show and add tags to images

49 lines (47 loc) 1.02 kB
module.exports = (config) => { config.set({ basePath: '', frameworks: ['browserify', 'jasmine'], files: [ 'dist/taggd.js', 'tests/functions.js', 'tests/units/*.js', 'tests/behavior/*.js', { pattern: 'tests/assets/**/*.jpg', watched: false, included: false, served: true, nocache: false, }, ], reporters: ['progress', 'coverage'], autoWatch: false, browsers: ['PhantomJS'], singleRun: true, preprocessors: { 'src/**/*.js': ['browserify', 'coverage'], }, coverageReporter: { reporters: [ // CLI output { type: 'text' }, // Report to submit to Coveralls { type: 'lcov', dir: 'coverage', subdir: '.', }, ], }, browserify: { debug: true, transform: [ ['babelify', { presets: ['es2015', 'es2017'], plugins: ['transform-runtime'], }], ], }, }); };