X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/3ef4adb18d58aa2570142c19762e4f2a48cb0d1b..3303f7533b86892774f011ac54bfd69c6092ea5a:/karma.conf.js diff --git a/karma.conf.js b/karma.conf.js index 78ad3b8..5153a22 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -1,38 +1,42 @@ -basePath = ''; - -files = [ - MOCHA, - MOCHA_ADAPTER, - /*REQUIRE, - REQUIRE_ADAPTER*/ - - 'libs/chai.js', - 'libs/jquery-1.9.1.min.js', - - 'tests/conf.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: '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; + + + + + + + + +