Skip to content

Commit f60fdaa

Browse files
PaulHaxfinetjul
authored andcommitted
fix(Testing): match webpack define name to JS global for VTKJS_TEST_PATTERN
The webpack DefinePlugin used __TEST_PATTERN__ but Sources/Testing/index.js reads __VTKJS_TEST_PATTERN__, so the filter was never applied.
1 parent d11a314 commit f60fdaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ module.exports = function init(config) {
5858
new ESLintPlugin(),
5959
new webpack.DefinePlugin({
6060
__BASE_PATH__: "'/base'",
61-
__TEST_PATTERN__: JSON.stringify(process.env.VTKJS_TEST_PATTERN || ''),
61+
__VTKJS_TEST_PATTERN__: JSON.stringify(process.env.VTKJS_TEST_PATTERN || ''),
6262
}),
6363
new webpack.ProvidePlugin({ process: ['process/browser'] }),
6464
],

0 commit comments

Comments
 (0)