weex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [07/13] incubator-weex git commit: * [html5] change karma config to suit the test scenario
Date Mon, 03 Jul 2017 03:44:56 GMT
* [html5] change karma config to suit the test scenario


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/3fe2ff05
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/3fe2ff05
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/3fe2ff05

Branch: refs/heads/0.15-dev
Commit: 3fe2ff050b1e04bd40bae1c8be2c6fb618ad045c
Parents: 60f9c1d
Author: erha19 <faterrole@gmail.com>
Authored: Fri Jun 30 16:11:43 2017 +0800
Committer: erha19 <faterrole@gmail.com>
Committed: Fri Jun 30 16:11:43 2017 +0800

----------------------------------------------------------------------
 build/karma.vue.conf.js | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/3fe2ff05/build/karma.vue.conf.js
----------------------------------------------------------------------
diff --git a/build/karma.vue.conf.js b/build/karma.vue.conf.js
index 811dbe3..0e750af 100644
--- a/build/karma.vue.conf.js
+++ b/build/karma.vue.conf.js
@@ -62,12 +62,11 @@ module.exports = function (config) {
     frameworks: ['mocha', 'sinon-chai'],
     browsers: ['PhantomJS'],
     files: [
-      // '../html5/test/render/vue/components/*.js'
-      '../html5/test/render/vue/**/*.js'
+      '../html5/test/render/vue/utils/*.js',
+      '../html5/test/render/vue/core/*.js',
+      '../html5/test/render/vue/!(utils|core)/*.js'
     ],
-
     exclude: [
-      '../html5/test/render/vue/helper.js',
       '../html5/test/render/vue/helper/*.js',
       '../html5/test/render/vue/vender/**/*.js',
       '../html5/test/render/vue/data/**/*.js'
@@ -83,7 +82,7 @@ module.exports = function (config) {
         { type: 'text-summary', dir: absolute('../coverage'), subdir: 'vue-renderer' }
       ]
     },
-
+    browserDisconnectTimeout:10000,
     preprocessors: {
       '../html5/test/**/*.js': ['rollup'],
       '../html5/test/**/!(components|examples|core)/*.js': ['rollup', 'coverage']


Mime
View raw message