mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 08:31:19 +00:00
fix(testing-karma): exclude spec files in node_modules
previously we only excluded `test` files.
This commit is contained in:
committed by
Thomas Allmer
parent
04d5be7a51
commit
c4ad1c12d7
@@ -65,7 +65,7 @@ module.exports = config => ({
|
||||
loader: 'istanbul-instrumenter-loader',
|
||||
enforce: 'post',
|
||||
include: path.resolve('./'),
|
||||
exclude: /node_modules|bower_components|\.test\.js$/,
|
||||
exclude: /node_modules|bower_components|\.(spec|test)\.js$/,
|
||||
options: {
|
||||
esModules: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user