Skip to content

Commit 81531fe

Browse files
committed
test: Fix sinon imports
1 parent 564963f commit 81531fe

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/unit/webpack.test.config.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,17 @@ module.exports = {
4646
test: /\.(ttf|eot)$/,
4747
loader: 'url'
4848
}
49+
],
50+
noParse: [
51+
/node_modules\/sinon\//,
4952
]
5053
},
5154

5255
resolve: {
5356
packageAlias: 'browser',
5457
alias: {
55-
'src': sourceDir
58+
'src': sourceDir,
59+
'sinon': 'sinon/pkg/sinon'
5660
}
5761
},
5862
plugins: [

0 commit comments

Comments
 (0)