Skip to content
This repository has been archived by the owner on Apr 1, 2019. It is now read-only.

Commit

Permalink
add poi preset karma
Browse files Browse the repository at this point in the history
  • Loading branch information
klarkc committed Oct 22, 2017
1 parent b6fd05e commit 36e1d77
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion template/poi.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const presetKarma = require('poi-preset-karma');
const glob = require('glob').sync;
const {name} = require('./package.json');

Expand All @@ -7,5 +8,13 @@ module.exports = {
js: name + '.min.js',
},
sourceMap: false,
html: false
html: false,
presets: [
presetKarma({
files: ['test/specs/**/*.spec.js'],
browsers: ['PhantomJS'],
frameworks: ['mocha', 'sinon-chai', 'phantomjs-shim'],
coverage: true
})
]
};

0 comments on commit 36e1d77

Please sign in to comment.