mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
include coverage postLoader in test bundle
This commit is contained in:
parent
c78ce05a8e
commit
9e1488ebbb
1 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,12 @@ module.exports = (kibana) => {
|
|||
|
||||
for (let f of testFiles) modules.push(f);
|
||||
|
||||
env.addPostLoader({
|
||||
test: /\.jsx?$/,
|
||||
exclude: /[\/\\](__tests__|node_modules|bower_components|webpackShims)[\/\\]/,
|
||||
loader: 'istanbul-instrumenter'
|
||||
});
|
||||
|
||||
return new UiBundle({
|
||||
id: 'tests',
|
||||
modules: modules,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue