Skip to content

Commit

Permalink
chore(www): remove spec files from coverage analysis (#1711)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens authored Sep 20, 2023
1 parent 1312fc3 commit 60777f3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/www/webpack_test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ export default merge(baseConfig, {
{
test: /\.m?ts$/,
exclude: /node_modules/,
use: ['@jsdevtools/coverage-istanbul-loader', TS_LOADER],
use: [TS_LOADER],
},
{
test: /\.m?js$/,
exclude: /node_modules/,
use: ['@jsdevtools/coverage-istanbul-loader'],
test: /\.m?(t|j)s$/,
exclude: /(node_modules|\.spec\.m?(t|j)s$)/,
loader: '@jsdevtools/coverage-istanbul-loader',
enforce: 'post',
},
{
test: /\.png$/,
Expand Down

0 comments on commit 60777f3

Please sign in to comment.