X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/9559f99e87eaa89fec3095451a6ad60f5ead13e2..2c4b75ac7d96858f3a50377b6ac680327eaa57ec:/karma.conf.js?ds=sidebyside diff --git a/karma.conf.js b/karma.conf.js index ce49467..ea3a375 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -1,36 +1,43 @@ -basePath = ''; - -files = [ - MOCHA, - MOCHA_ADAPTER, - /*REQUIRE, - REQUIRE_ADAPTER*/ - 'tests/mocha.conf.js', - 'libs/chai.js', - 'libsjquery-1.9.1.min.js', - 'modules/documentCanvas/tests/tests_transform.js' - -]; - -reporters = ['progress']; - -port = 9876; -runnerPort = 9100; -captureTimeout = 60000; - -autoWatch = true; -singleRun = false; - -browsers = ['PhantomJS']; - -colors = true; -logLevel = LOG_INFO; - - - - - - - - - +basePath = ''; + +files = [ + MOCHA, + MOCHA_ADAPTER, + REQUIRE, + REQUIRE_ADAPTER, + + 'vkbeautify.js', + {pattern: 'libs/*.js', included: false}, + {pattern: 'fnpjs/**/*.js', included: false}, + {pattern: 'modules/**/*.js', included: false}, + {pattern: 'utils/**/*.js', included: false}, + {pattern: 'views/**/*.js', included: false}, + {pattern: 'fnpjs/**/*.html', included: false}, + {pattern: 'modules/**/*.html', included: false}, + {pattern: 'views/**/*.html', included: false}, + + 'tests/main.js', +]; + +reporters = ['progress']; + +port = 9876; +runnerPort = 9100; +captureTimeout = 60000; + +autoWatch = true; +singleRun = false; + +browsers = ['PhantomJS']; + +colors = true; +logLevel = LOG_INFO; + + + + + + + + +