X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/3ef4adb18d58aa2570142c19762e4f2a48cb0d1b..7263e5132059abc0e93deac2175db475f90e7617:/karma.conf.js diff --git a/karma.conf.js b/karma.conf.js index 78ad3b8..913c295 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -1,38 +1,35 @@ -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, + + {pattern: 'libs/*.js', included: false}, + {pattern: 'src/**/*.js', included: false}, + {pattern: 'src/**/*.html', included: false}, + {pattern: 'src/**/*.xml', included: false}, + 'tests/main.js', +]; + +reporters = ['progress']; + +port = 9876; +runnerPort = 9100; +captureTimeout = 60000; + +autoWatch = true; +singleRun = false; + +colors = true; +logLevel = LOG_INFO; + + + + + + + + +