You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2017/05/04 11:32:41 UTC

[37/60] [abbrv] ignite git commit: IGNITE-4082 Fixed tests runner.

IGNITE-4082 Fixed tests runner.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/25f0f75d
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/25f0f75d
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/25f0f75d

Branch: refs/heads/ignite-5075-cacheStart
Commit: 25f0f75df2541c164b4164e6430f50f52abd5c92
Parents: 6236b5f
Author: Ilya Borisov <kl...@gmail.com>
Authored: Fri Apr 28 17:04:59 2017 +0700
Committer: Alexey Kuznetsov <ak...@apache.org>
Committed: Fri Apr 28 17:04:59 2017 +0700

----------------------------------------------------------------------
 modules/web-console/frontend/test/karma.conf.babel.js | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/25f0f75d/modules/web-console/frontend/test/karma.conf.babel.js
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/test/karma.conf.babel.js b/modules/web-console/frontend/test/karma.conf.babel.js
index 992c4d0..aa6b11c 100644
--- a/modules/web-console/frontend/test/karma.conf.babel.js
+++ b/modules/web-console/frontend/test/karma.conf.babel.js
@@ -20,6 +20,12 @@ import path from 'path';
 
 const basePath = path.resolve('./');
 
+// Webpack chunk plugin has to be removed during test runs due to incompatibility issues,
+// otherwise tests would not run at all.
+// https://github.com/webpack-contrib/karma-webpack/issues/24#issuecomment-257613167
+const chunkPluginIndex = webpack.plugins.findIndex((plugin) => plugin.chunkNames);
+webpack.plugins.splice(chunkPluginIndex, 1);
+
 export default (config) => {
     config.set({
         // Base path that will be used to resolve all patterns (eg. files, exclude).